From a26d84ba3cc80d7cf8099edc79419154e9b80d56 Mon Sep 17 00:00:00 2001 From: Saroh <325288+saroh@users.noreply.github.com> Date: Tue, 31 Jan 2023 15:46:11 +0100 Subject: [PATCH] fix(CI) enable coverage on doctest :warning: Marked as [unstable](https://github.com/taiki-e/cargo-llvm-cov/issues/2) refs #1761 --- .github/workflows/coverage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index c5ecb03475..fb6a1feb36 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -2,9 +2,9 @@ name: Coverage on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: coverage: @@ -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