Skip to content

Commit 275b0c6

Browse files
committed
CI: force using argfile to test againg cargo fix
1 parent d813739 commit 275b0c6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/main.yml

+7
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ jobs:
6868

6969
# Deny warnings on CI to avoid warnings getting into the codebase.
7070
- run: cargo test --features 'deny-warnings'
71+
- name: Check operability of rustc invocation with argfile
72+
env:
73+
__CARGO_TEST_FORCE_ARGFILE: 1
74+
run: |
75+
# This only tests `cargo fix` because fix-proxy-mode is one of the most
76+
# complicated subprocess management in Cargo.
77+
cargo test --test testsuite --features 'deny-warnings' -- fix::
7178
- run: cargo test --features 'deny-warnings' --manifest-path crates/cargo-test-support/Cargo.toml
7279
env:
7380
CARGO_TARGET_DIR: target

0 commit comments

Comments
 (0)