Enhance output messages for code coverage and documentation steps in unit tests workflow

This commit is contained in:
Palash Tyagi 2025-05-04 00:39:23 +01:00
parent 101ee8c1c7
commit cae230783e

View File

@ -39,11 +39,13 @@ jobs:
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: Run doc-tests
run: cargo test --doc --all-features --workspace --release
- name: Test docs generation
run: cargo doc --no-deps --release
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 "Generating documentation (no-deps)"
cargo doc --no-deps --release
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with: