summaryrefslogtreecommitdiff
path: root/.github/workflows/unit_tests.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/unit_tests.yaml')
-rw-r--r--.github/workflows/unit_tests.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml
index 66cf79380e..6de8ce7fed 100644
--- a/.github/workflows/unit_tests.yaml
+++ b/.github/workflows/unit_tests.yaml
@@ -9,6 +9,11 @@ on:
branches:
- develop
- releases/**
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_number }}
+ cancel-in-progress: true
+
jobs:
# Validate that the code can be run on all the Python versions
# supported by Spack