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 <themighty1@users.noreply.github.com>

---------

Co-authored-by: dan <themighty1@users.noreply.github.com>
This commit is contained in:
Hendrik Eeckhaut
2024-05-15 10:07:53 +02:00
committed by GitHub
parent ad4db5d753
commit e1c609553e

View File

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