Nightly tests (Report) #219
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow aim to run all UI tests on active branches | |
# and upload the report on Google cloud platform storage | |
name: Nightly tests (Report) | |
on: | |
schedule: | |
- cron: '0 5 * * *' | |
workflow_dispatch: | |
jobs: | |
# Add pushed reports to GCP on nightly | |
push-nightly-reports: | |
name: Push reports to nightly.prestashop-project.org | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
max-parallel: 1 | |
matrix: | |
include: | |
- branch: 1.7.8.x | |
database: mysql | |
- branch: 8.0.x | |
database: mysql | |
- branch: 8.1.x | |
database: mysql | |
- branch: 8.2.x | |
database: mysql | |
- branch: develop | |
database: mysql | |
- branch: develop | |
database: mariadb | |
steps: | |
- name: Push reports | |
run: | | |
REPORT_NAME="$(date +%Y-%m-%d)-${{ matrix.branch }}-${{matrix.database}}" | |
curl -v "https://api-nightly.prestashop-project.org/hook/reports/import?token=${{ secrets.NIGHTLY_TOKEN }}&filename=${REPORT_NAME}.json&database=${{matrix.database}}" |