forked from ZcashFoundation/frost
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update README, move dev info to book (ZcashFoundation#554)
- Loading branch information
1 parent
b37bde0
commit 5cd7964
Showing
3 changed files
with
39 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Developer Guide | ||
|
||
# Pre-commit checks | ||
|
||
1. Run tests `cargo test` | ||
2. Run formatter `cargo fmt` | ||
3. Check linter `cargo clippy --all-features --all-targets -- -D warnings` and if you want to automatically fix then run `cargo clippy --fix` | ||
|
||
# Coverage | ||
|
||
Test coverage checks are performed in the pipeline. This is cofigured here: `.github/workflows/coverage.yaml` | ||
To run these locally: | ||
1. Install coverage tool by running `cargo install cargo-llvm-cov` | ||
2. Run `cargo llvm-cov --ignore-filename-regex '.*(tests).*|benches.rs|gencode|helpers.rs` (you may be asked if you want to install `llvm-tools-preview`, if so type `Y`) |