Skip to content

Commit 09ed8b4

Browse files
committed
test: ci should cancel older jobs
1 parent 7c2f9fc commit 09ed8b4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,18 @@ on:
1212
# week, Sundays at 6:00 UTC.
1313
- cron: "0 6 * * 0"
1414

15+
concurrency:
16+
group: "${{ github.workflow }}-${{ github.ref }}"
17+
cancel-in-progress: true
1518

1619
defaults:
1720
run:
1821
shell: bash
1922

23+
env:
24+
PIP_DISABLE_PIP_VERSION_CHECK: 1
25+
FORCE_COLOR: 1 # Get colored pytest output
26+
2027
jobs:
2128
tests:
2229
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }}"

0 commit comments

Comments
 (0)