Skip to content

Commit ad959c8

Browse files
committed
Pass --tests to the clippy invocation
1 parent dd9aa5b commit ad959c8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.circleci/config.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ commands:
2525
# After wasm build to ensure target/wasm32-unknown-unknown/release/<contract>.wasm exists
2626
- run:
2727
name: Clippy
28-
command: cargo clippy --all-targets -- -D warnings
28+
command: cargo clippy --all-targets --tests -- -D warnings
2929
- run:
3030
name: Integration tests (singlepass backend)
3131
command: cargo integration-test --locked --no-default-features
@@ -882,35 +882,35 @@ jobs:
882882
- run:
883883
name: Clippy linting on crypto
884884
working_directory: ~/project/packages/crypto
885-
command: cargo clippy --all-targets -- -D warnings
885+
command: cargo clippy --all-targets --tests -- -D warnings
886886
- run:
887887
name: Clippy linting on derive
888888
working_directory: ~/project/packages/derive
889-
command: cargo clippy --all-targets -- -D warnings
889+
command: cargo clippy --all-targets --tests -- -D warnings
890890
- run:
891891
name: Clippy linting on schema
892892
working_directory: ~/project/packages/schema
893-
command: cargo clippy --all-targets -- -D warnings
893+
command: cargo clippy --all-targets --tests -- -D warnings
894894
- run:
895895
name: Clippy linting on schema-derive
896896
working_directory: ~/project/packages/schema-derive
897-
command: cargo clippy --all-targets -- -D warnings
897+
command: cargo clippy --all-targets --tests -- -D warnings
898898
- run:
899899
name: Clippy linting on std (no feature flags)
900900
working_directory: ~/project/packages/std
901-
command: cargo clippy --all-targets -- -D warnings
901+
command: cargo clippy --all-targets --tests -- -D warnings
902902
- run:
903903
name: Clippy linting on std (all feature flags)
904904
working_directory: ~/project/packages/std
905-
command: cargo clippy --all-targets --features abort,iterator,staking,stargate,cosmwasm_2_0 -- -D warnings
905+
command: cargo clippy --all-targets --tests --features abort,iterator,staking,stargate,cosmwasm_2_0 -- -D warnings
906906
- run:
907907
name: Clippy linting on vm (no feature flags)
908908
working_directory: ~/project/packages/vm
909-
command: cargo clippy --all-targets --no-default-features -- -D warnings
909+
command: cargo clippy --all-targets --tests --no-default-features -- -D warnings
910910
- run:
911911
name: Clippy linting on vm (all feature flags)
912912
working_directory: ~/project/packages/vm
913-
command: cargo clippy --all-targets --features iterator,staking,stargate -- -D warnings
913+
command: cargo clippy --all-targets --tests --features iterator,staking,stargate -- -D warnings
914914
- save_cache:
915915
paths:
916916
- /usr/local/cargo/registry

0 commit comments

Comments
 (0)