ci: Run doc tests with cargo test --workspace --doc (#5459)

Nextest doesn't run doc tests, so we need to run them with `cargo test
--workspace --doc`.

See https://github.com/nextest-rs/nextest/issues/16

Follow-up for #5457
This commit is contained in:
Hocuri
2024-04-14 18:54:20 +02:00
committed by GitHub
parent 6080a52024
commit 94ac2b1097

View File

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