Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Cover tests under clippy#10310

Merged
solana-grimes merged 1 commit intosolana-labs:masterfrom
ryoqun:clippy-tests
May 29, 2020
Merged

Cover tests under clippy#10310
solana-grimes merged 1 commit intosolana-labs:masterfrom
ryoqun:clippy-tests

Conversation

@ryoqun
Copy link
Copy Markdown
Contributor

@ryoqun ryoqun commented May 29, 2020

Problem

tests are not covered under clippy

Summary of Changes

Do so!
Great thanks to @svenski123 for precedent works #10030 #10172

Fixes #9951

Comment thread ci/test-checks.sh

_ cargo +"$rust_stable" clippy --version
_ cargo +"$rust_stable" clippy --workspace -- --deny=warnings
_ cargo +"$rust_stable" clippy --workspace --tests -- --deny=warnings
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@svenski123 Btw, I'd like to add --all-targets (this includes --benches), but currently I can't. Interested? :)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have a look at #10445

@ryoqun ryoqun added the automerge Merge this Pull Request automatically once CI passes label May 29, 2020
@solana-grimes solana-grimes merged commit 8db3447 into solana-labs:master May 29, 2020
@ryoqun ryoqun changed the title Cover tests for clippy Cover tests under clippy May 29, 2020
@ryoqun
Copy link
Copy Markdown
Contributor Author

ryoqun commented Jun 9, 2020

This CI check is further enhanced by #10463 and #10464

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automerge Merge this Pull Request automatically once CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clippy errors in the test suite

3 participants