Skip to content

Commit

Permalink
cancel previous test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Jul 10, 2024
1 parent 29f05f3 commit 952fd12
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/matlab_test_and_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
pull_request:
branches: ['*']

# cancel previous run on that branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
matlab_tests:

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/octave_test_and_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
pull_request:
branches: ['*']

# cancel previous run on that branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 952fd12

Please sign in to comment.