ci: fail slowly

Instead of cancelling all test/build jobs in the matrix if one fails,
allow remaining jobs to continue.

This lowers the impact of transient errors on CI and provides more
complete testing feedback on submissions.
This commit is contained in:
honorless 2024-07-05 13:30:20 -04:00
parent 3694ff85a0
commit c49ee06d2b
No known key found for this signature in database
GPG key ID: 1B48A311ABE8DA4D
3 changed files with 3 additions and 0 deletions

View file

@ -31,6 +31,7 @@ jobs:
run-tests:
needs: collect-tests
strategy:
fail-fast: false
matrix:
test: ${{ fromJSON(needs.collect-tests.outputs.test-dirs) }}
runs-on: ubuntu-latest

View file

@ -26,6 +26,7 @@ jobs:
image: docker.io/zmkfirmware/zmk-build-arm:3.5
needs: compile-matrix
strategy:
fail-fast: false
matrix:
include: ${{ fromJSON(needs.compile-matrix.outputs.include-list) }}
steps:

View file

@ -31,6 +31,7 @@ jobs:
run-tests:
needs: collect-tests
strategy:
fail-fast: false
matrix:
test: ${{ fromJSON(needs.collect-tests.outputs.test-dirs) }}
runs-on: ubuntu-latest