From e1c609553e09581a8810282f1a51ee9a3b466bfb Mon Sep 17 00:00:00 2001 From: Hendrik Eeckhaut Date: Wed, 15 May 2024 10:07:53 +0200 Subject: [PATCH] Make sure doctests are run in ci (#27) * ci: make sure doctests are run in ci * Update .github/workflows/rust.yml Co-authored-by: dan --------- Co-authored-by: dan --- .github/workflows/rust.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7165fb3..8dd335d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -29,7 +29,9 @@ jobs: run: cargo build - name: "Test" - run: cargo test --lib --bins --tests --examples --workspace + # Run all tests (bins, examples, lib, integration and docs) + # https://doc.rust-lang.org/cargo/commands/cargo-test.html#target-selection + run: cargo test - name: "Check documentation" env: