Skip to content

Commit

Permalink
fix(CI) enable coverage on doctest
Browse files Browse the repository at this point in the history
⚠️ Marked as [unstable](taiki-e/cargo-llvm-cov#2)
refs #1761
  • Loading branch information
saroh committed Feb 11, 2023
1 parent dab93df commit 9eb6185
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Coverage

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
coverage:
Expand All @@ -16,7 +16,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo +nightly llvm-cov --all-features --workspace --lcov --output-path lcov.info
run: cargo +nightly llvm-cov --all-features --workspace --doctests --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
continue-on-error: true
Expand Down

0 comments on commit 9eb6185

Please sign in to comment.