mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
Enhance output messages for code coverage and documentation steps in unit tests workflow
This commit is contained in:
parent
101ee8c1c7
commit
cae230783e
12
.github/workflows/run-unit-tests.yml
vendored
12
.github/workflows/run-unit-tests.yml
vendored
@ -39,11 +39,13 @@ jobs:
|
|||||||
- name: Install cargo-llvm-cov
|
- name: Install cargo-llvm-cov
|
||||||
uses: taiki-e/install-action@cargo-llvm-cov
|
uses: taiki-e/install-action@cargo-llvm-cov
|
||||||
- name: Generate code coverage
|
- name: Generate code coverage
|
||||||
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
|
run: |
|
||||||
- name: Run doc-tests
|
echo "Running tests with code coverage"
|
||||||
run: cargo test --doc --all-features --workspace --release
|
cargo llvm-cov --all-features --release --workspace --lcov --output-path lcov.info
|
||||||
- name: Test docs generation
|
echo "Running doctests"
|
||||||
run: cargo doc --no-deps --release
|
cargo test --doc --all-features --workspace --release
|
||||||
|
echo "Generating documentation (no-deps)"
|
||||||
|
cargo doc --no-deps --release
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user