mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
CI: force using argfile to test againg cargo fix
This commit is contained in:
parent
d813739c76
commit
275b0c68d4
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@ -68,6 +68,13 @@ jobs:
|
|||||||
|
|
||||||
# Deny warnings on CI to avoid warnings getting into the codebase.
|
# Deny warnings on CI to avoid warnings getting into the codebase.
|
||||||
- run: cargo test --features 'deny-warnings'
|
- run: cargo test --features 'deny-warnings'
|
||||||
|
- name: Check operability of rustc invocation with argfile
|
||||||
|
env:
|
||||||
|
__CARGO_TEST_FORCE_ARGFILE: 1
|
||||||
|
run: |
|
||||||
|
# This only tests `cargo fix` because fix-proxy-mode is one of the most
|
||||||
|
# complicated subprocess management in Cargo.
|
||||||
|
cargo test --test testsuite --features 'deny-warnings' -- fix::
|
||||||
- run: cargo test --features 'deny-warnings' --manifest-path crates/cargo-test-support/Cargo.toml
|
- run: cargo test --features 'deny-warnings' --manifest-path crates/cargo-test-support/Cargo.toml
|
||||||
env:
|
env:
|
||||||
CARGO_TARGET_DIR: target
|
CARGO_TARGET_DIR: target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user