From 92a4ee5b3676387caf0f10494450aaf281cb5d57 Mon Sep 17 00:00:00 2001 From: MahdiBM Date: Mon, 28 Oct 2024 20:12:55 +0330 Subject: [PATCH] Ignore Nightly Failures --- .github/workflows/tests.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 50b0bc5..c621c6a 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: false + error-sign: - - name: swift:6.0-noble - failure-exit: false + error-sign: - - name: swiftlang/swift:nightly-main-jammy # https://github.com/swiftlang/swift/issues/77242 - failure-exit: true + error-sign: + config: - mode: "debug" build_args: "" @@ -60,7 +60,8 @@ jobs: - name: Run tests run: - swift test --parallel -c ${{ matrix.config.mode }} ${{ matrix.config.test_args }} || ${{ matrix.swift-image.failure-exit }} + set ${{ matrix.swift-image.error-sign }}e + swift test --parallel -c ${{ matrix.config.mode }} ${{ matrix.config.test_args }} - name: Submit code coverage if: matrix.config.with_codecov