Skip to content

Commit

Permalink
[hot-fix] don't cancel matrix jobs if one job fails
Browse files Browse the repository at this point in the history
Disable the fail-fast strategy on matrix elements to ensure that the jobs for ubuntu are run even if the ones for windows or mac fail.

Issue #69

Signed-off-by: Meret Behrens <[email protected]>
  • Loading branch information
meretp committed Jul 6, 2023
1 parent cb31858 commit df1f9cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/lint_and_run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ on:
pull_request:
workflow_dispatch:


jobs:
linter:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
Expand Down Expand Up @@ -73,6 +75,7 @@ jobs:
run:
shell: bash
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
Expand Down

0 comments on commit df1f9cb

Please sign in to comment.