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 quickwit-oss#1761
  • Loading branch information
saroh committed Jan 31, 2023
1 parent 0f20787 commit a26d84b
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 a26d84b

Please sign in to comment.