From f151f2253f1eb64fa39878d6769e55fa0726cd06 Mon Sep 17 00:00:00 2001 From: Anton Engelhardt Date: Sun, 13 Oct 2024 21:19:51 +0200 Subject: [PATCH] fix(docs): add doc test ci Signed-off-by: Anton Engelhardt --- .github/workflows/rust.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 11de901a..171df48d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -134,6 +134,9 @@ jobs: - name: Package (docs) run: cargo doc --no-deps --target=wasm32-unknown-unknown + - name: Doc Test + run: cargo test --doc + - name: Package (publish) run: cargo publish --dry-run --target=wasm32-unknown-unknown @@ -182,6 +185,9 @@ jobs: - name: Package (docs) run: cargo doc --no-deps --target=wasm32-unknown-unknown + - name: Doc Test + run: cargo test --doc + - name: Package (publish) run: cargo publish --dry-run --target=wasm32-unknown-unknown @@ -231,6 +237,9 @@ jobs: - name: Package (docs) run: cargo doc --no-deps --target=wasm32-unknown-unknown + - name: Doc Test + run: cargo test --doc + - name: Package (publish) run: cargo publish --dry-run --target=wasm32-unknown-unknown