From e82936e0f7b62277e7498703f5f6b861b2b643b5 Mon Sep 17 00:00:00 2001 From: MahdiBM Date: Mon, 28 Oct 2024 20:31:58 +0330 Subject: [PATCH] Ignore Nightly Failures --- .github/workflows/tests.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 04b1201..d4a6593 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,12 +22,8 @@ jobs: config: - mode: "debug" build_args: "" - test_args: "--enable-code-coverage" - with_codecov: true - mode: "release" build_args: "-Xswiftc -enable-testing" - test_args: "-Xswiftc -enable-testing" - with_codecov: false runs-on: ubuntu-latest @@ -65,10 +61,10 @@ jobs: run: set ${{ matrix.swift-image.error-sign }}e - swift test --parallel -c ${{ matrix.config.mode }} ${{ matrix.config.test_args }} + swift test --parallel --enable-code-coverage -c ${{ matrix.config.mode }} - name: Submit code coverage - if: matrix.config.with_codecov uses: vapor/swift-codecov-action@v0.3 with: - codecov_token: ${{ secrets.CODECOV_TOKEN }} + build_parameters: "-c ${{ matrix.config.mode }}" + codecov_token: "${{ secrets.CODECOV_TOKEN }}"