Skip to content

Commit 72af181

Browse files
committed
Disable cargo test --workspace for now
1 parent 33e38c9 commit 72af181

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

.pre-commit-config.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,15 @@ repos:
7171
pass_filenames: false
7272
files: \.rs$|Cargo\.(toml|lock)
7373

74-
- id: cargo-test
75-
name: cargo-test
76-
language: system
77-
entry: cargo test --workspace
78-
stages: [pre-commit, pre-merge-commit]
79-
pass_filenames: false
80-
files: \.rs$|Cargo\.(toml|lock)
74+
# As long as we run tests for every contained crate (to test turning off all features),
75+
# we don't need to re-run them here
76+
# - id: cargo-test
77+
# name: cargo-test
78+
# language: system
79+
# entry: cargo test --workspace
80+
# stages: [pre-commit, pre-merge-commit]
81+
# pass_filenames: false
82+
# files: \.rs$|Cargo\.(toml|lock)
8183

8284
- id: cargo-test-no-default-features
8385
name: cargo-test-no-default-features

0 commit comments

Comments
 (0)