Skip to content

Commit

Permalink
Don't short circuit failures, we want to see them.
Browse files Browse the repository at this point in the history
  • Loading branch information
bok- committed Dec 11, 2024
1 parent 18de7e6 commit 5b64336
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 16 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ios-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
if: ${{ github.event_name == 'push' || needs.check-changes.outputs.changed == 'true' }}
needs: check-changes
strategy:
fail-fast: false
matrix:
xcode: [ "16.0", "16.1" ]
os: [ macos-14, macos-15 ]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linux-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
if: ${{ github.event_name == 'push' || needs.check-changes.outputs.changed == 'true' }}
needs: check-changes
strategy:
fail-fast: false
matrix:
swift: [ "swift:6.0.2" ]
os: [ amazonlinux2, focal, jammy, rhel-ubi9, mantic, noble ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/macos-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
if: ${{ github.event_name == 'push' || needs.check-changes.outputs.changed == 'true' }}
needs: check-changes
strategy:
fail-fast: false
matrix:
xcode: [ "16.0", "16.1" ]
os: [ macos-14, macos-15 ]
Expand All @@ -53,5 +54,5 @@ jobs:
needs: build-macos-matrix
steps:
- name: Check build matrix status
if: ${{ needs.build-ios-matrix.result != 'success' }}
if: ${{ needs.build-macos-matrix.result != 'success' }}
run: exit 1
3 changes: 2 additions & 1 deletion .github/workflows/tvos-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
if: ${{ github.event_name == 'push' || needs.check-changes.outputs.changed == 'true' }}
needs: check-changes
strategy:
fail-fast: false
matrix:
xcode: [ "16.0", "16.1" ]
os: [ macos-14, macos-15 ]
Expand All @@ -53,5 +54,5 @@ jobs:
needs: build-tvos-matrix
steps:
- name: Check build matrix status
if: ${{ needs.build-ios-matrix.result != 'success' }}
if: ${{ needs.build-tvos-matrix.result != 'success' }}
run: exit 1
3 changes: 2 additions & 1 deletion .github/workflows/visionos-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
if: ${{ github.event_name == 'push' || needs.check-changes.outputs.changed == 'true' }}
needs: check-changes
strategy:
fail-fast: false
matrix:
xcode: [ "16.0", "16.1" ]
os: [ macos-14, macos-15 ]
Expand All @@ -53,5 +54,5 @@ jobs:
needs: build-visionos-matrix
steps:
- name: Check build matrix status
if: ${{ needs.build-ios-matrix.result != 'success' }}
if: ${{ needs.build-visionos-matrix.result != 'success' }}
run: exit 1
3 changes: 2 additions & 1 deletion .github/workflows/watchos-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
if: ${{ github.event_name == 'push' || needs.check-changes.outputs.changed == 'true' }}
needs: check-changes
strategy:
fail-fast: false
matrix:
xcode: [ "16.0", "16.1" ]
os: [ macos-14, macos-15 ]
Expand All @@ -53,5 +54,5 @@ jobs:
needs: build-watchos-matrix
steps:
- name: Check build matrix status
if: ${{ needs.build-ios-matrix.result != 'success' }}
if: ${{ needs.build-watchos-matrix.result != 'success' }}
run: exit 1
12 changes: 0 additions & 12 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ let package = Package(
Package.Dependency.package(url: "https://github.com/apple/swift-async-algorithms.git", from: "1.0.0")
Package.Dependency.package(url: "https://github.com/nicklockwood/SwiftFormat.git", from: "0.54.1")
Package.Dependency.package(url: "https://github.com/swiftlang/swift-syntax.git", .upToNextMajor(from: "600.0.1"))

#if os(Linux)
// Linux does not come bundled with swift-testing
Package.Dependency.package(url: "https://github.com/apple/swift-testing.git", exact: "0.11.0")
#endif

},

targets: .init {
Expand All @@ -50,12 +44,6 @@ let package = Package(
name: "VexilTests",
dependencies: .init {
Target.Dependency.target(name: "Vexil")

#if os(Linux)
// Linux does not come bundled with swift-testing
Target.Dependency.product(name: "Testing", package: "swift-testing")
#endif

},
swiftSettings: [
.swiftLanguageMode(.v6),
Expand Down

0 comments on commit 5b64336

Please sign in to comment.