Skip to content

Commit

Permalink
ci: Run doc tests with cargo test --workspace --doc (#5459)
Browse files Browse the repository at this point in the history
Nextest doesn't run doc tests, so we need to run them with `cargo test
--workspace --doc`.

See nextest-rs/nextest#16

Follow-up for #5457
  • Loading branch information
Hocuri committed Apr 14, 2024
1 parent 6080a52 commit 94ac2b1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ jobs:
RUST_BACKTRACE: 1
run: cargo nextest run --workspace

- name: Doc-Tests
env:
RUST_BACKTRACE: 1
run: cargo test --workspace --doc

- name: Test cargo vendor
run: cargo vendor

Expand Down

0 comments on commit 94ac2b1

Please sign in to comment.