Skip to content

Commit

Permalink
Ignore Nightly Failures
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiBM committed Oct 28, 2024
1 parent b137d3f commit e82936e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 }}"

0 comments on commit e82936e

Please sign in to comment.