Skip to content

Commit

Permalink
Enable concurrency on PR testing to avoid wastage
Browse files Browse the repository at this point in the history
  • Loading branch information
penelopeysm committed Dec 17, 2024
1 parent dbc2985 commit 7835b7e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
- master
pull_request:

# Cancel existing tests on the same PR if a new commit is added to a pull request
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

jobs:
test:
# Use matrix.test.name here to avoid it taking up the entire window width
Expand Down

0 comments on commit 7835b7e

Please sign in to comment.