Skip to content

Commit 6f51e5a

Browse files
committed
ci: Set fail-fast to false and add concurrency rules
1 parent 4a3a7fc commit 6f51e5a

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

.github/workflows/ci-arch.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
paths-ignore:
77
- CHANGELOG.md
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
build-with-arch:
1115
runs-on: "ubuntu-latest"

.github/workflows/ci-linux-osx-win-conda.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
paths-ignore:
77
- CHANGELOG.md
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
build-with-conda:
1115
name: '[conda:${{ matrix.os }}:${{ matrix.build_type }}:c++${{ matrix.cxx_std }}]'

.github/workflows/ci-linux-ros.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
paths-ignore:
66
- CHANGELOG.md
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
CI:
1014
strategy:

.github/workflows/release-osx-win.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,17 @@ on:
88
types:
99
- published
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
# Only cancel workflow on new push if we are not releasing
14+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
15+
1116
jobs:
1217
build-wheel:
1318
runs-on: ${{ matrix.os }}
1419
name: Build ${{ matrix.os }} ${{ matrix.python-version }}
1520
strategy:
21+
fail-fast: false
1622
matrix:
1723
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1824
os: [macos-13, macos-14, windows-2019, windows-latest]

0 commit comments

Comments
 (0)