-
Notifications
You must be signed in to change notification settings - Fork 192
docs: improve CONTRIBUTING.md to more closely match CI execution #963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,17 +37,25 @@ Before submitting a PR make sure to run: | |
| - for formatting | ||
|
|
||
| ```shell | ||
| cargo fmt --all | ||
| cargo fmt --all -- --check | ||
| ``` | ||
|
|
||
| - the clippy lints | ||
| - the clippy lints (with warnings treated as errors) | ||
|
|
||
| ```shell | ||
| cargo clippy | ||
| cargo clippy --all-targets --all -- -D warnings | ||
| ``` | ||
|
|
||
| - the test suite | ||
|
|
||
| ```shell | ||
| cargo test | ||
| cargo test --all | ||
| ``` | ||
|
|
||
| - the lockfile check | ||
|
|
||
| ```shell | ||
| cargo check --locked --all-targets --all | ||
|
||
| ``` | ||
|
|
||
| Note: CI runs these checks across multiple feature combinations (`bashisms`, `sqlite`, `external_printer`, etc.), so you may want to test with the features relevant to your changes using the `--features` flag. | ||
Uh oh!
There was an error while loading. Please reload this page.