sourcefrog / cargo-mutants

:zombie: Inject bugs and see if your tests catch them!
https://mutants.rs/
MIT License
547 stars 27 forks source link

CI broken by passing `--profile` twice to cargo #409

Closed sourcefrog closed 3 weeks ago

sourcefrog commented 3 weeks ago

https://github.com/sourcefrog/cargo-mutants/actions/runs/10494305908/job/29070536453 for example fails due to

*** /home/runner/.rustup/toolchains/beta-x86_64-unknown-linux-gnu/bin/cargo test --no-run --profile=mutants --verbose --manifest-path /home/runner/work/cargo-mutants/cargo-mutants/Cargo.toml --profile=mutants
error: the argument '--profile <PROFILE-NAME>' cannot be used multiple times
sourcefrog commented 3 weeks ago

Not a bug in cargo-mutants itself, just in the GitHub actions config. Just due to passing --cargo-arg as well as configuring the native support.