diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 36e0e5d..50b0bc5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,12 +13,12 @@ jobs: matrix: swift-image: - name: swift:5.10-noble - failure-exit-code: 99 + failure-exit: false - name: swift:6.0-noble - failure-exit-code: 99 + failure-exit: false - name: swiftlang/swift:nightly-main-jammy # https://github.com/swiftlang/swift/issues/77242 - failure-exit-code: 0 + failure-exit: true config: - mode: "debug" build_args: "" @@ -60,7 +60,7 @@ jobs: - name: Run tests run: - swift test --parallel -c ${{ matrix.config.mode }} ${{ matrix.config.test_args }} || exit ${{ matrix.swift-image.failure-exit-code }} + swift test --parallel -c ${{ matrix.config.mode }} ${{ matrix.config.test_args }} || ${{ matrix.swift-image.failure-exit }} - name: Submit code coverage if: matrix.config.with_codecov