diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index 0ad6482..d54568b 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -38,12 +38,13 @@ jobs: run: rustup update stable - name: Install cargo-llvm-cov uses: taiki-e/install-action@cargo-llvm-cov - - name: Generate code coverage + + - name: Run unit tests and generate coverage run: | - echo "Running tests with code coverage" - cargo llvm-cov --all-features --release --workspace --lcov --output-path lcov.info echo "Running doctests" cargo test --doc --all-features --workspace --release + echo "Running tests with code coverage" + cargo llvm-cov --all-features --release --workspace --lcov --output-path lcov.info echo "Generating documentation (no-deps)" cargo doc --no-deps --release - name: Upload coverage to Codecov