Skip to content

feat: add zonetransfer module, [skip ci] #39

feat: add zonetransfer module, [skip ci]

feat: add zonetransfer module, [skip ci] #39

Workflow file for this run

name: Coverage
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
RUSTFLAGS: "-Dwarnings"
CARGO_TERM_COLOR: "always"
jobs:
cargo-llvm-cov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: taiki-e/install-action@cargo-llvm-cov
- uses: Swatinem/rust-cache@v2
- name: Install llvm-symbolizer
run: |
sudo apt-get update -y
sudo apt-get install -y gnupg curl
curl -fsSL https://apt.llvm.org/llvm.sh | sudo bash
sudo apt-get install llvm-symbolizer llvm lld -y
- name: Generate code coverage
run: |
cargo +nightly llvm-cov \
--all-features \
--workspace \
--doctests \
--lcov \
--output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: true