Skip to content

Merge pull request #302 from sebastienrousseau/dependabot/cargo/serde… #272

Merge pull request #302 from sebastienrousseau/dependabot/cargo/serde…

Merge pull request #302 from sebastienrousseau/dependabot/cargo/serde… #272

Workflow file for this run

name: 📶 Coverage
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install Cargo Tarpaulin
run: cargo install cargo-tarpaulin
- name: Run tests with coverage
run: cargo tarpaulin --out Lcov --all-features --no-fail-fast
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Ccodegen-units=1 -Clink-dead-code -Coverflow-checks=off'
RUSTDOCFLAGS: ''
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: lcov.info