Closed silvestrst closed 3 years ago
It seems that clippy in CI is not running over tests:
- name: Check clippy lints run: cargo clippy --verbose
I think it might be useful to have an additional:
- name: Check clippy lints run:` cargo clippy --tests
Unless --tests covers both cases, in which case we could just add --test to the existing run
--tests
--test
run
I'd recommend using
cargo clippy --all-targets
to ensure full coverage (though it does sometimes report issues twice: https://github.com/rust-lang/rust-clippy/issues/4092 )
It seems that clippy in CI is not running over tests:
I think it might be useful to have an additional:
Unless
--tests
covers both cases, in which case we could just add--test
to the existingrun