Skip to content

Commit

Permalink
Fix Linux llvm-cov invocation.
Browse files Browse the repository at this point in the history
  • Loading branch information
randymarsh77 committed Dec 3, 2024
1 parent 69e6a7c commit 2c95682
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,9 @@ jobs:
- name: Build and Test
run: swift test --enable-test-discovery --enable-code-coverage

- name: Troubleshoot
run: curl -sSf https://sshx.io/get | sh -s run

- name: Prepare coverage report
if: github.ref == 'refs/heads/master'
run: $(dirname $(realpath $(which swift)))/llvm-cov export -format="lcov" .build/x86_64-unknown-linux-gnu/debug/TimePackageTests.xctest/Contents/MacOS/TimePackageTests -instr-profile .build/x86_64-unknown-linux-gnu/debug/codecov/default.profdata > linux.lcov
run: $(dirname $(realpath $(which swift)))/llvm-cov export -format="lcov" .build/debug/TimePackageTests.xctest -instr-profile .build/debug/codecov/default.profdata > linux.lcov

- name: Cache coverage report
if: github.ref == 'refs/heads/master'
Expand Down

0 comments on commit 2c95682

Please sign in to comment.