From 94ac2b109768f479fbfc3b8932ed48925495bb51 Mon Sep 17 00:00:00 2001 From: Hocuri Date: Sun, 14 Apr 2024 18:54:20 +0200 Subject: [PATCH] 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 --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b47d0fcf..d936f2b7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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