mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:19:59 +00:00
Reorder steps in unit tests workflow to clarify coverage generation process
This commit is contained in:
parent
cae230783e
commit
8ba39f8e87
7
.github/workflows/run-unit-tests.yml
vendored
7
.github/workflows/run-unit-tests.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user