mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 07:09:59 +00:00
Add step to run doc-tests in CI workflow
This commit is contained in:
parent
e1dc8f9a92
commit
d7c90c65e9
4
.github/workflows/run-unit-tests.yml
vendored
4
.github/workflows/run-unit-tests.yml
vendored
@ -20,8 +20,10 @@ jobs:
|
||||
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
|
||||
- name: Test docs generation
|
||||
run: cargo doc --no-deps
|
||||
run: cargo doc --no-deps
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user