Merge pull request #13 from Magnus167/doctest_wkflow

Add step to run doc-tests in CI workflow
This commit is contained in:
Palash Tyagi 2025-04-21 01:53:07 +01:00 committed by GitHub
commit 8646f4e562
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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