feat: add zonetransfer module, [skip ci] #39
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: 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 |