Skip to content

Commit

Permalink
Add local CI instructions to CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jlapeyre committed Jan 9, 2024
1 parent bd262de commit f59a95c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
### Pull Requests
## Pull Requests

Running `cargo clippy` on the branch to be merged must show no errors.
### Continuous Integration (CI)

All pull requests must pass a CI check before being merged. You can check if CI will pass locally with
```shell
cargo fmt --all -- --check && cargo build --verbose && cargo clippy -- -D warnings && cargo test --verbose -- --skip sourcegen_ast --skip sourcegen_ast_nodes
```

### Clippy

One of the CI items is `cargo clippy`.
To handle a lot of errors at the command line can use (for unix-like OS) `cargo clippy --color always &| less -R`.


0 comments on commit f59a95c

Please sign in to comment.