|
Ran
|
Jobs
1
|
Files
30
|
Run time
1min
|
Badge
README BADGES
|
push
github
Merge bitcoindevkit/bdk#1979: feat: add `justfile` 501766e71 feat: add `justfile` (Luis Schwab) Pull request description: <!-- You can erase any parts of this template not applicable to your Pull Request. --> ### Description Closes #1967. This PR adds a `justfile`, updates the PR template to use it, and adds a section on the `README.md` to show available recipes. These are the implemented recipes: ```justfile alias b := build alias c := check alias f := fmt alias t := test alias p := pre-push _default: @just --list # Build the project build: cargo build # Check code: formatting, compilation, linting, and commit signature check: cargo +nightly fmt --all -- --check cargo check --workspace --all-features cargo clippy --all-features --all-targets -- -D warnings @[ "$(git log --pretty='format:%G?' -1 HEAD)" = "N" ] && \ echo "\n⚠️ Unsigned commit: BDK requires that commits be signed." || \ true # Format all code fmt: cargo +nightly fmt # Run all tests for all crates with all features enabled test: @just _test-bitcoind_rpc @just _test-chain @just _test-core @just _test-electrum @just _test-esplora @just _test-file_store @just _test-testenv _test-bitcoind_rpc: cargo test -p bdk_bitcoind_rpc --all-features _test-chain: cargo test -p bdk_chain --all-features _test-core: cargo test -p bdk_core --all-features _test-electrum: cargo test -p bdk_electrum --all-features _test-esplora: cargo test -p bdk_esplora --all-features _test-file_store: cargo test -p bdk_file_store --all-features _test-testenv: cargo test -p bdk_testenv --all-features # Run pre-push suite: format, check, and test pre-push: fmt check test ``` `check` will verify if `HEAD` was signed and echo that warning if not. It does not check all commits, but I think ... (continued)
5325 of 6480 relevant lines covered (82.18%)
33006.5 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 16185133669.1 | 30 |
82.18 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|