ci: add test with --no-default-features

This commit is contained in:
oxalica 2024-10-14 19:14:58 -04:00
parent fe587f057f
commit 3b1cae583c

View file

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