Skip to content

Commit f885152

Browse files
authored
Change build apptainer concurrency group (#124)
1 parent 941d9f0 commit f885152

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/iris-tests-apptainer.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ on:
77
branches: [ main ]
88
workflow_dispatch:
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
build-apptainer-image:
1216
runs-on: [self-hosted, mi3008x]
1317
timeout-minutes: 90
14-
concurrency:
15-
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}-build
16-
cancel-in-progress: true
18+
1719
steps:
1820
- name: Checkout repository
1921
uses: actions/checkout@v4
@@ -44,9 +46,8 @@ jobs:
4446
strategy:
4547
matrix:
4648
ranks: [1, 2, 4, 8]
47-
concurrency:
48-
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}-${{ matrix.ranks }}
49-
cancel-in-progress: true
49+
max-parallel: 1
50+
5051
steps:
5152
- name: Checkout repository
5253
uses: actions/checkout@v4
@@ -55,7 +56,7 @@ jobs:
5556
run: |
5657
apptainer exec ~/apptainer/iris-dev.sif bash -c "
5758
set -e # Exit on any error
58-
59+
5960
# Install iris first
6061
pip install -e .
6162

0 commit comments

Comments
 (0)