Skip to content

Commit

Permalink
Fail fast for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez authored Oct 2, 2023
1 parent 87fdf66 commit e7d0a44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
fail-fast: ${{ github.event_name == 'pull_request' }}
max-parallel: ${{ github.event_name == 'pull_request' && 2 || 6 }}
matrix:
os: [ubuntu-latest, macos-latest]
python: ['3.9', '3.10', '3.11']
Expand Down

0 comments on commit e7d0a44

Please sign in to comment.