Add XpubDerivable constructors #206
Workflow file for this run
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
name: Codecov | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
codecov: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v26 | |
- name: Build | |
run: nix develop .#codecov -c cargo build --release | |
- name: Test | |
run: nix develop .#codecov -c cargo test --all-features --no-fail-fast | |
- name: Install grcov | |
run: nix develop .#codecov -c cargo install grcov | |
- name: Generate coverage | |
run: nix develop .#codecov -c grcov . --binary-path target/debug/deps/ -s . -t lcov --branch --ignore-not-existing --ignore '../**' --ignore '/*' -o coverage.lcov | |
- name: Upload coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
files: ./coverage.lcov | |
flags: rust | |
# TODO: set true when CODECOV_TOKEN is set | |
fail_ci_if_error: false | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |