about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-02-16 17:03:03 +0000
committerbors <bors@rust-lang.org>2021-02-16 17:03:03 +0000
commit877be189ad6fa6a50f9fd295296c446892b4009d (patch)
tree723a4864d3bb55a7e3bae7da7cdaa9507189ee32
parente2753f9a7bcfcedaad7dcf78eba6ccfe14f2a3aa (diff)
parente355652fec704f307b50d42fb6a08172dc1e08bf (diff)
downloadrust-877be189ad6fa6a50f9fd295296c446892b4009d.tar.gz
rust-877be189ad6fa6a50f9fd295296c446892b4009d.zip
Auto merge of #6749 - camsteffen:test-all, r=Manishearth
Test workspace at once

changelog: none

Follow-up to #6733
-rw-r--r--.github/workflows/clippy.yml12
-rw-r--r--.github/workflows/clippy_bors.yml12
-rw-r--r--Cargo.toml3
3 files changed, 7 insertions, 20 deletions
diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml
index 9d5e12aac5f..f6ac936df4d 100644
--- a/.github/workflows/clippy.yml
+++ b/.github/workflows/clippy.yml
@@ -53,16 +53,8 @@ jobs:
     - name: Test "--fix -Zunstable-options"
       run: cargo run --features deny-warnings,internal-lints --bin cargo-clippy -- clippy --fix -Zunstable-options
 
-    - name: Test
-      run: cargo test --features deny-warnings,internal-lints
-
-    - name: Test clippy_lints
-      run: cargo test --features deny-warnings,internal-lints
-      working-directory: clippy_lints
-
-    - name: Test rustc_tools_util
-      run: cargo test --features deny-warnings
-      working-directory: rustc_tools_util
+    - name: Test Workspace
+      run: cargo test --all --features deny-warnings,internal-lints
 
     - name: Test clippy_dev
       run: cargo test --features deny-warnings
diff --git a/.github/workflows/clippy_bors.yml b/.github/workflows/clippy_bors.yml
index 5d846eb64c7..9d24b0293c4 100644
--- a/.github/workflows/clippy_bors.yml
+++ b/.github/workflows/clippy_bors.yml
@@ -112,16 +112,8 @@ jobs:
     - name: Build
       run: cargo build --features deny-warnings,internal-lints
 
-    - name: Test
-      run: cargo test --features deny-warnings,internal-lints
-
-    - name: Test clippy_lints
-      run: cargo test --features deny-warnings,internal-lints
-      working-directory: clippy_lints
-
-    - name: Test rustc_tools_util
-      run: cargo test --features deny-warnings
-      working-directory: rustc_tools_util
+    - name: Test Workspace
+      run: cargo test --all --features deny-warnings,internal-lints
 
     - name: Test clippy_dev
       run: cargo test --features deny-warnings
diff --git a/Cargo.toml b/Cargo.toml
index ea32a8edd1f..b996e55c779 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -18,6 +18,9 @@ build = "build.rs"
 edition = "2018"
 publish = false
 
+[workspace]
+exclude = ["clippy_dev", "mini-macro"]
+
 [[bin]]
 name = "cargo-clippy"
 test = false