Skip to content

Commit

Permalink
coverage.lcov -> lcov.info
Browse files Browse the repository at this point in the history
`lcov.info` seems to be widely used.
  • Loading branch information
smoelius committed Oct 23, 2024
1 parent cff08bd commit 7577356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ jobs:
pushd "$X"
TMP="$(mktemp)"
cargo llvm-cov --coverage-target-only --target x86_64-unknown-linux-gnu --workspace --failure-mode all --lcov --output-path "$TMP"
rustfilt -i "$TMP" -o coverage.lcov
rustfilt -i "$TMP" -o lcov.info
popd
done
- name: Install lcov
run: sudo apt install lcov

- name: Generate html
run: find . -name coverage.lcov -print0 | xargs -0 genhtml --output-directory coverage
run: find . -name lcov.info -print0 | xargs -0 genhtml --output-directory coverage

- name: Push to gh-pages branch
run: |
Expand Down

0 comments on commit 7577356

Please sign in to comment.