Skip to content

Commit

Permalink
Added stanza to workflow actions so that pushed changes cancel any ru…
Browse files Browse the repository at this point in the history
…nning tests in favor of testing the updated codebase.
  • Loading branch information
WardF committed Oct 25, 2023
1 parent fa8d831 commit 1c0dfaa
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/run_tests_cdash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ name: Run CDash Ubuntu/Linux netCDF Tests

on: workflow_dispatch


concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
cancel-in-progress: true

jobs:

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/run_tests_osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@

name: Run macOS-based netCDF Tests


on: [pull_request,workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
cancel-in-progress: true

jobs:

build-deps-osx:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/run_tests_s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ name: Run S3 netCDF Tests (under Ubuntu Linux)

on: [workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
cancel-in-progress: true

jobs:

build-deps-serial:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/run_tests_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ name: Run Ubuntu/Linux netCDF Tests

on: [pull_request, workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
cancel-in-progress: true

jobs:

build-deps-serial:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/run_tests_win_cygwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Run Cygwin-based tests

on: [pull_request,workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
cancel-in-progress: true

env:
SHELLOPTS: igncr
CHERE_INVOKING: 1
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/run_tests_win_mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ env:

on: [pull_request,workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
cancel-in-progress: true

jobs:

build-and-test-autotools:
Expand Down

0 comments on commit 1c0dfaa

Please sign in to comment.