Revert test in pre-commit and fix CI

Partially reverts 51e6714.

1. Testing in pre-commit is too long and suffers from different
   environment setup.
2. `--include-ignored` breaks criterion CLI currently.
This commit is contained in:
oxalica 2023-10-17 18:30:20 +08:00
parent 73eeaa64d8
commit b4a01cee32
2 changed files with 4 additions and 3 deletions

View file

@ -51,7 +51,10 @@ jobs:
- name: Build
run: nix develop .#full --command cargo build --workspace --all-targets
- name: Test
run: nix develop .#full --command cargo test --workspace --all-targets -- --include-ignored
run: nix develop .#full --command cargo test --workspace --all-targets
# Waiting for https://github.com/bheisler/criterion.rs/pull/703
- name: Test with ignored
run: nix develop .#full --command cargo test --workspace --all-targets -- --ignored
nix-flake:
name: Flake package