From 3b1cae583ca0fa985ddf08eb6ca3c967a2fd23cf Mon Sep 17 00:00:00 2001 From: oxalica <oxalicc@pm.me> Date: Mon, 14 Oct 2024 19:14:58 -0400 Subject: [PATCH] ci: add test with --no-default-features --- .github/workflows/ci.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 59cc7f7..6587e16 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,7 +32,10 @@ jobs: run: cargo fmt -- --check - name: Clippy - run: cargo clippy --workspace --all-targets -- -D clippy::dbg_macro -D clippy::todo + run: cargo clippy --workspace --all-targets + + - name: Clippy (no default features) + run: cargo clippy --workspace --all-targets --no-default-features - name: Rustdoc run: cargo doc --workspace --no-deps @@ -77,9 +80,12 @@ jobs: - name: Test run: cargo test --workspace --all-targets + - name: Test (no default features) + run: cargo test --workspace --all-targets --no-default-features + # WAIT: Next release of `criterion` for `--include-ignored`. - - name: Test ignored - run: cargo test --workspace --all-targets -- --ignored + - name: Test ignored (all features) + run: cargo test --workspace --all-targets --all-features -- --ignored nix-flake: name: Flake package