mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Fix CI testing
This commit is contained in:
parent
ac69b05500
commit
cab1e3566b
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -68,7 +68,9 @@ jobs:
|
||||
|
||||
# Deny warnings on CI to avoid warnings getting into the codebase.
|
||||
- run: cargo test --features 'deny-warnings'
|
||||
- run: cargo test --features 'deny-warnings' -p cargo-test-support
|
||||
- run: cargo test --features 'deny-warnings' --manifest-path crates/cargo-test-support/Cargo.toml
|
||||
env:
|
||||
CARGO_TARGET_DIR: target
|
||||
- run: cargo test -p cargo-platform
|
||||
- run: cargo test -p cargo-util
|
||||
- run: cargo test --manifest-path crates/mdman/Cargo.toml
|
||||
|
@ -23,3 +23,6 @@ tar = { version = "0.4.18", default-features = false }
|
||||
termcolor = "1.1.2"
|
||||
toml = "0.5.7"
|
||||
url = "2.2.2"
|
||||
|
||||
[features]
|
||||
deny-warnings = []
|
||||
|
@ -5,6 +5,7 @@
|
||||
#![allow(clippy::all)]
|
||||
#![warn(clippy::needless_borrow)]
|
||||
#![warn(clippy::redundant_clone)]
|
||||
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
|
||||
|
||||
use std::env;
|
||||
use std::ffi::OsStr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user