Additional Tests #475
This file contains hidden or 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
| name: Additional Tests | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| # pull_request_target: | |
| # types: | |
| # - labeled # Trigger when a label is added | |
| schedule: | |
| - cron: '0 */12 * * *' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
| jobs: | |
| additional-acceptance-tests: | |
| name: ${{ matrix.set }} | |
| # Skip running scheduled jobs on forks | |
| if: (github.repository == 'uyuni-project/uyuni' || github.event_name != 'schedule') | |
| # Skip running scheduled jobs on forks and only run if "run-full-testsuite" label is present | |
| # if: >- | |
| # (github.ref == 'refs/heads/master') || | |
| # ((github.repository == 'uyuni-project/uyuni' || github.event_name != 'schedule') && | |
| # contains(github.event.pull_request.labels.*.name, 'run-full-testsuite')) | |
| uses: ./.github/workflows/acceptance_tests_common.yml | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| set: ['1', '2', '3', '4', '5'] | |
| with: | |
| secondary_tests: "19_run_secondary_parallelizable_tests_subset.sh ${{ matrix.set }}" | |
| server_id: "secondary_parallel_${{ matrix.set }}" |