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:
parent
3694ff85a0
commit
c49ee06d2b
3 changed files with 3 additions and 0 deletions
1
.github/workflows/ble-test.yml
vendored
1
.github/workflows/ble-test.yml
vendored
|
@ -31,6 +31,7 @@ jobs:
|
||||||
run-tests:
|
run-tests:
|
||||||
needs: collect-tests
|
needs: collect-tests
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
test: ${{ fromJSON(needs.collect-tests.outputs.test-dirs) }}
|
test: ${{ fromJSON(needs.collect-tests.outputs.test-dirs) }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -26,6 +26,7 @@ jobs:
|
||||||
image: docker.io/zmkfirmware/zmk-build-arm:3.5
|
image: docker.io/zmkfirmware/zmk-build-arm:3.5
|
||||||
needs: compile-matrix
|
needs: compile-matrix
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include: ${{ fromJSON(needs.compile-matrix.outputs.include-list) }}
|
include: ${{ fromJSON(needs.compile-matrix.outputs.include-list) }}
|
||||||
steps:
|
steps:
|
||||||
|
|
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
|
@ -31,6 +31,7 @@ jobs:
|
||||||
run-tests:
|
run-tests:
|
||||||
needs: collect-tests
|
needs: collect-tests
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
test: ${{ fromJSON(needs.collect-tests.outputs.test-dirs) }}
|
test: ${{ fromJSON(needs.collect-tests.outputs.test-dirs) }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Add table
Reference in a new issue