Concurrency control for Python tests.

This commit is contained in:
Dave Page 2023-04-05 16:11:19 +01:00
parent b14834b06c
commit 644575415e
2 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,10 @@ on:
workflow_dispatch:
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
build:
# Only run if the tests are enabled

View File

@ -8,6 +8,10 @@ on:
workflow_dispatch:
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
build:
strategy: