Skip to content

no warn

no warn #3

Workflow file for this run

on:
push:
#branches: [main]
pull_request:
branches:
- main
name: Test coverage
jobs:
coverage:
name: Collect test coverage
runs-on: ubuntu-latest
env:
#RUSTFLAGS: -D warnings
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2
- name: Install latest nextest release
uses: taiki-e/install-action@af5d802f13195cc3a6becf3d19d72f7de93908d8 # v2
with:
tool: nextest
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@af5d802f13195cc3a6becf3d19d72f7de93908d8 # v2
with:
tool: cargo-llvm-cov
- name: Collect coverage data
run: |
cargo llvm-cov --no-report nextest
cargo llvm-cov report --lcov --output-path lcov.info
- name: Upload coverage data to codecov
uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be # v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: lcov.info