Skip to content

Commit a20e2c7

Browse files
committed
chore: improve CI job independence to prevent cascading failures
Add fail-fast: false to macOS and Linux matrix strategies and remove code-coverage job dependency on macOS job completion. This ensures all CI jobs run to completion even when individual matrix jobs or the main macOS job fail, providing better visibility into which specific configurations are broken and preventing unnecessary CI cancellations. - Add fail-fast: false to macOS job matrix strategy - Add fail-fast: false to Linux job matrix strategy - Remove needs: macos dependency from code-coverage job This improves CI reliability and debugging by allowing all test configurations to complete independently.
1 parent f02fd6b commit a20e2c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
name: macOS - ${{ matrix.package }} (Xcode ${{ matrix.xcode }})
2222
runs-on: ${{ matrix.os }}
2323
strategy:
24+
fail-fast: false
2425
matrix:
2526
include:
2627
- os: macos-15
@@ -62,6 +63,7 @@ jobs:
6263
name: Ubuntu - ${{ matrix.package }} (Swift ${{ matrix.swift }})
6364
runs-on: ubuntu-latest
6465
strategy:
66+
fail-fast: false
6567
matrix:
6668
swift:
6769
- '6.0'
@@ -126,7 +128,6 @@ jobs:
126128

127129
code-coverage:
128130
name: Gather Code Coverage
129-
needs: macos
130131
runs-on: macos-15
131132
steps:
132133
- name: Checkout repository

0 commit comments

Comments
 (0)