Skip to content

Commit

Permalink
Use ${{ github.ref }}-${{ github.event }}-${{ inputs.lightning-versio…
Browse files Browse the repository at this point in the history
…n }}-${{ inputs.pennylane-version }} for concurrency groups.
  • Loading branch information
vincentmr committed Apr 26, 2024
1 parent 9a31ec9 commit 0cc5c57
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests_lgpu_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:
TORCH_VERSION: 1.11.0+cpu

concurrency:
group: tests_lgpu_cpp-${{ github.ref }}
group: tests_lgpu_cpp-${{ github.ref }}-${{ github.event }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }}
cancel-in-progress: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_lgpu_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:
TORCH_VERSION: 1.11.0+cpu

concurrency:
group: tests_lgpu_python-${{ github.ref }}
group: tests_lgpu_python-${{ github.ref }}-${{ github.event }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }}
cancel-in-progress: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_lgpumpi_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ env:
CI_CUDA_ARCH: 86

concurrency:
group: tests_lgpumpi_cpp-${{ github.ref }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }}
group: tests_lgpumpi_cpp-${{ github.ref }}-${{ github.event }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }}
cancel-in-progress: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_lgpumpi_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
CI_CUDA_ARCH: 86

concurrency:
group: tests_lgpumpi_python-${{ github.ref }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }}
group: tests_lgpumpi_python-${{ github.ref }}-${{ github.event }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }}
cancel-in-progress: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_linux_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:
OMP_PROC_BIND: "false"

concurrency:
group: tests_linux_cpp-${{ github.ref }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }}
group: tests_linux_cpp-${{ github.ref }}-${{ github.event }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }}
cancel-in-progress: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_linux_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
OMP_PROC_BIND: "false"

concurrency:
group: tests_linux_python-${{ github.ref }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }}
group: tests_linux_python-${{ github.ref }}-${{ github.event }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }}
cancel-in-progress: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_lkcuda_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ env:
TORCH_VERSION: 1.11.0+cpu

concurrency:
group: tests_lkcuda_cpp-${{ github.ref }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }}
group: tests_lkcuda_cpp-${{ github.ref }}-${{ github.event }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }}
cancel-in-progress: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_lkcuda_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ env:
TORCH_VERSION: 1.11.0+cpu

concurrency:
group: tests_lkcuda_python-${{ github.ref }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }}
group: tests_lkcuda_python-${{ github.ref }}-${{ github.event }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }}
cancel-in-progress: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_windows_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
- '!pennylane_lightning/core/src/simulators/lightning_gpu/**'

concurrency:
group: tests_windows_cpp-${{ github.ref }}
group: tests_windows_cpp-${{ github.ref }}-${{ github.event }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }}
cancel-in-progress: true

jobs:
Expand Down

0 comments on commit 0cc5c57

Please sign in to comment.