mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
Merge pull request #13 from Magnus167/doctest_wkflow
Add step to run doc-tests in CI workflow
This commit is contained in:
commit
8646f4e562
2
.github/workflows/run-unit-tests.yml
vendored
2
.github/workflows/run-unit-tests.yml
vendored
@ -20,6 +20,8 @@ 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
|
||||
- name: Upload coverage to Codecov
|
||||
|
Loading…
x
Reference in New Issue
Block a user