chore: disable fail-fast in ci (#6399)

Don't stop the test suite on test failures, and don't skip reporting
failures on certain test failures.
This commit is contained in:
Marco Ferrari 2024-11-26 16:05:44 +01:00 committed by GitHub
parent 70a684deb6
commit 102ceb6a8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -252,14 +252,10 @@ jobs:
- set-build-metadata - set-build-metadata
- build-container-image - build-container-image
- build-test-suite-matrix - build-test-suite-matrix
# Don't fail the entire test suite when:
# - Running npm audit, so we can see test results even if there are
# vulnerable dependencies that might be unrelated to the PR
# - Running the 'test' target because it runs all the tests, including the
# ones that are allowed to fail
continue-on-error: ${{ matrix.test-case == 'npm-audit' || matrix.test-case == 'test' }}
strategy: strategy:
fail-fast: true # Continue running the rest of the test suite so we get feedback even if
# there are failures in certain tests, such as when running npm-audit
fail-fast: false
matrix: matrix:
test-case: ${{ fromJson(needs.build-test-suite-matrix.outputs.matrix) }} test-case: ${{ fromJson(needs.build-test-suite-matrix.outputs.matrix) }}
images: images: