Skip to content

Commit

Permalink
Update CI test to not fail fast and cancel workflows on same HEAD ref (
Browse files Browse the repository at this point in the history
  • Loading branch information
flaeppe authored Dec 19, 2024
1 parent 179deb9 commit b1c931d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,20 @@ on:
paths-ignore:
- 'docs/**'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
FORCE_COLOR: 1
PYTHONUNBUFFERED: "1"

jobs:
test:
name: Test Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 4
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
Expand Down

0 comments on commit b1c931d

Please sign in to comment.