Skip to content

Commit

Permalink
swift 6 fixes --enable-code-coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
swhitty authored Dec 3, 2024
1 parent b4b3e82 commit 9f7f107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
- name: Version
run: swift --version
- name: Build
run: swift test --enable-code-coverage --filter do_not_test
run: swift build --build-tests --enable-code-coverage
- name: Test
run: swift test --enable-code-coverage --skip-build
run: swift test --skip-build --enable-code-coverage
- name: Gather code coverage
run: xcrun llvm-cov export -format="lcov" .build/debug/TimeoutPackageTests.xctest/Contents/MacOS/TimeoutPackageTests -instr-profile .build/debug/codecov/default.profdata > coverage_report.lcov
- name: Upload Coverage
Expand Down

0 comments on commit 9f7f107

Please sign in to comment.