Skip to content

Commit

Permalink
ci: ensure jobs continue even if one fails
Browse files Browse the repository at this point in the history
If one of matrix jobs fails (e.g., for one specific target), the other matrix jobs will continue running and will not be cancelled
Pertain to tests on emulator and hardware targets

JIRA: CI-376
  • Loading branch information
mateusz-bloch authored and damianloew committed Oct 25, 2023
1 parent 8e5a05b commit de316d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
outputs:
runner_result: ${{ steps.runner.outcome }}
strategy:
fail-fast: ${{ ! inputs.nightly }}
fail-fast: false
matrix:
target: ['armv7a9-zynq7000-qemu', 'host-generic-pc', 'ia32-generic-qemu', 'riscv64-generic-qemu']

Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
outputs:
runner_result: ${{ steps.runner.outcome }}
strategy:
fail-fast: ${{ ! inputs.nightly }}
fail-fast: false
matrix:
target: ['armv7a7-imx6ull-evk', 'armv7m7-imxrt106x-evk', 'armv7m7-imxrt117x-evk', 'armv7a9-zynq7000-zedboard', 'armv7m4-stm32l4x6-nucleo']

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-submodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ jobs:
outputs:
runner_result: ${{ steps.runner.outcome }}
strategy:
fail-fast: false
matrix:
target: ['armv7a9-zynq7000-qemu', 'host-generic-pc', 'ia32-generic-qemu', 'riscv64-generic-qemu']

Expand Down Expand Up @@ -145,6 +146,7 @@ jobs:
outputs:
runner_result: ${{ steps.runner.outcome }}
strategy:
fail-fast: false
matrix:
target: ['armv7a7-imx6ull-evk', 'armv7m7-imxrt106x-evk', 'armv7m7-imxrt117x-evk', 'armv7a9-zynq7000-zedboard', 'armv7m4-stm32l4x6-nucleo']

Expand Down

0 comments on commit de316d7

Please sign in to comment.