Skip to content

Commit 7dbca2b

Browse files
committed
ci: move doc tests to unit section
1 parent 308f490 commit 7dbca2b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/testing.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ jobs:
6565
name: Run Lint Checks
6666
run: cargo clippy --tests --benches --examples --workspace --all-targets --all-features -- -D clippy::correctness -D clippy::suspicious -D clippy::complexity -D clippy::perf -D clippy::style -D clippy::pedantic
6767

68-
- id: doc
69-
name: Run Documentation Checks
70-
run: cargo test --doc
71-
7268
unit:
7369
name: Units
7470
runs-on: ubuntu-latest
@@ -100,6 +96,14 @@ jobs:
10096
with:
10197
tool: cargo-llvm-cov, cargo-nextest
10298

99+
- id: docs
100+
name: Build Documentation
101+
run: cargo doc --no-deps --bins --examples --workspace --all-features
102+
103+
- id: test-docs
104+
name: Run Documentation Tests
105+
run: cargo test --doc
106+
103107
- id: test
104108
name: Run Unit Tests
105109
run: cargo test --tests --benches --examples --workspace --all-targets --all-features

0 commit comments

Comments
 (0)