Skip to content

Commit

Permalink
Collect coverage from doctests too
Browse files Browse the repository at this point in the history
  • Loading branch information
FreezyLemon committed Aug 7, 2024
1 parent 44ccdb9 commit f78275c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
- name: Collect coverage
run: |
cargo llvm-cov --no-report nextest
cargo llvm-cov report --lcov --output-path lcov.info
cargo llvm-cov --no-report --doc
cargo llvm-cov report --doctests --lcov --output-path lcov.info
- name: Upload to codecov.io
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit f78275c

Please sign in to comment.