Skip to content

Commit e7d0a44

Browse files
authored
Fail fast for PRs
1 parent 87fdf66 commit e7d0a44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci-conda.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
runs-on: ${{ matrix.os }}
2222

2323
strategy:
24-
fail-fast: false
24+
fail-fast: ${{ github.event_name == 'pull_request' }}
25+
max-parallel: ${{ github.event_name == 'pull_request' && 2 || 6 }}
2526
matrix:
2627
os: [ubuntu-latest, macos-latest]
2728
python: ['3.9', '3.10', '3.11']

0 commit comments

Comments
 (0)