Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't run cargo test in pre-commit #548

Merged
merged 1 commit into from
Mar 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -13,16 +13,16 @@ repos:
args: ["--all", "--", "--check"]
fail_fast: true

- id: cargo-test
name: cargo test
description: Run Rust tests.
entry: cargo test
language: system
types: [rust]
files: Cargo\.toml|\.rs$
pass_filenames: false
args: ["--all-features", "--", "--test-threads=1"]
fail_fast: true
# - id: cargo-test
# name: cargo test
# description: Run Rust tests.
# entry: cargo test
# language: system
# types: [rust]
# files: Cargo\.toml|\.rs$
# pass_filenames: false
# args: ["--all-features", "--", "--test-threads=1"]
# fail_fast: true

- id: clippy
name: clippy