Skip to content

Commit d3bfd5b

Browse files
committed
Attempt 2
1 parent 116a223 commit d3bfd5b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ on:
1010

1111
# Ensure redundant parallel runs don't occur in the same workflow.
1212
# Use either PR or branch information to prevent such runs.
13-
# concurrency:
14-
# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15-
# cancel-in-progress: true
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15+
cancel-in-progress: true
1616

1717
# A workflow run is made up of one or more jobs that can run sequentially or in
1818
# parallel
@@ -27,6 +27,9 @@ jobs:
2727
os: ['ubuntu-latest', 'windows-latest']
2828
# The type of runner that the job will run on
2929
runs-on: ${{ matrix.os }}
30+
concurrency:
31+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ matrix.os }}-${{ matrix.python-version}}
32+
cancel-in-progress: true
3033

3134
# Steps represent a sequence of tasks that will be executed as part of the job
3235
steps:

0 commit comments

Comments
 (0)