Skip to content

Commit 877be18

Browse files
committed
Auto merge of #6749 - camsteffen:test-all, r=Manishearth
Test workspace at once changelog: none Follow-up to #6733
2 parents e2753f9 + e355652 commit 877be18

File tree

3 files changed

+7
-20
lines changed

3 files changed

+7
-20
lines changed

.github/workflows/clippy.yml

+2-10
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,8 @@ jobs:
5353
- name: Test "--fix -Zunstable-options"
5454
run: cargo run --features deny-warnings,internal-lints --bin cargo-clippy -- clippy --fix -Zunstable-options
5555

56-
- name: Test
57-
run: cargo test --features deny-warnings,internal-lints
58-
59-
- name: Test clippy_lints
60-
run: cargo test --features deny-warnings,internal-lints
61-
working-directory: clippy_lints
62-
63-
- name: Test rustc_tools_util
64-
run: cargo test --features deny-warnings
65-
working-directory: rustc_tools_util
56+
- name: Test Workspace
57+
run: cargo test --all --features deny-warnings,internal-lints
6658

6759
- name: Test clippy_dev
6860
run: cargo test --features deny-warnings

.github/workflows/clippy_bors.yml

+2-10
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,8 @@ jobs:
112112
- name: Build
113113
run: cargo build --features deny-warnings,internal-lints
114114

115-
- name: Test
116-
run: cargo test --features deny-warnings,internal-lints
117-
118-
- name: Test clippy_lints
119-
run: cargo test --features deny-warnings,internal-lints
120-
working-directory: clippy_lints
121-
122-
- name: Test rustc_tools_util
123-
run: cargo test --features deny-warnings
124-
working-directory: rustc_tools_util
115+
- name: Test Workspace
116+
run: cargo test --all --features deny-warnings,internal-lints
125117

126118
- name: Test clippy_dev
127119
run: cargo test --features deny-warnings

Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ build = "build.rs"
1818
edition = "2018"
1919
publish = false
2020

21+
[workspace]
22+
exclude = ["clippy_dev", "mini-macro"]
23+
2124
[[bin]]
2225
name = "cargo-clippy"
2326
test = false

0 commit comments

Comments
 (0)