diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b647ec8..c205654 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -158,3 +158,6 @@ jobs: --all-features \ --no-deps \ --locked + + - name: Run doctests + run: cargo test --workspace --doc --all-features --locked diff --git a/AGENTS.md b/AGENTS.md index d312cb5..d09aba2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -173,6 +173,7 @@ Use the narrowest useful checks first. For substantive workspace changes, final cargo fmt --all -- --check cargo check --workspace --all-targets --all-features --locked cargo test --workspace --all-targets --all-features --locked +cargo test --workspace --doc --all-features --locked cargo clippy --workspace --all-targets --all-features --locked -- -D warnings ``` diff --git a/README.md b/README.md index e1464d9..9fc35b9 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,7 @@ when to use it instead of `irtt-client`/`irtt-server` directly. ```sh cargo fmt --all -- --check cargo test --workspace --locked +cargo test --workspace --doc --all-features --locked cargo clippy --workspace --all-targets --all-features --locked -- -D warnings ```