mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:19:59 +00:00
Uncomment doc-tests and documentation generation steps in CI workflow
This commit is contained in:
parent
2642af5601
commit
adcf0d0a0b
22
.github/workflows/run-docs-and-doc-tests.yml
vendored
22
.github/workflows/run-docs-and-doc-tests.yml
vendored
@ -1,22 +0,0 @@
|
||||
name: run-docs-and-doc-tests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
run-docs-and-doc-tests:
|
||||
name: run-docs-and-doc-tests
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Rust
|
||||
run: rustup update stable
|
||||
- name: Run doc-tests
|
||||
run: cargo test --doc --all-features --workspace
|
||||
- name: Test docs generation
|
||||
run: cargo doc --no-deps
|
8
.github/workflows/run-unit-tests.yml
vendored
8
.github/workflows/run-unit-tests.yml
vendored
@ -20,10 +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
|
||||
- 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
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user