Skip to content

Commit

Permalink
updated path-to-lcov
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyTeichman committed Dec 5, 2023
1 parent fdf8624 commit eb25762
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ jobs:
run: cargo test --verbose
- name: Collecting code coverage
run: |
mkdir ./coverage
cargo install grcov
grcov ${GITHUB_WORKSPACE}/coverage/ -b ./target/debug/deps/ -s . -t lcov --llvm --branch --ignore-not-existing --output-path ./coverage.json --token ${{ secrets.COVERALLS_REPO_TOKEN }}
grcov ${GITHUB_WORKSPACE}/coverage/ -b ./target/debug/deps/ -s . -t lcov --llvm --branch --ignore-not-existing --output-path ./coverage/lcov.info --token ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: ./coverage.json
path-to-lcov: ./coverage/lcov.info
flag-name: run-${{ matrix.rust }}
parallel: true

0 comments on commit eb25762

Please sign in to comment.