Skip to content

Fix coverage stuff #1235

Fix coverage stuff

Fix coverage stuff #1235

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
ci:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: actions/checkout@v4
- run: cargo build --all
- run: cargo fmt --all -- --check
- run: cargo clippy -- -D warnings
- run: cargo install cargo-tarpaulin
if: matrix.os == 'ubuntu-latest'
- run: cargo tarpaulin --out xml -- --test-threads 1
if: matrix.os == 'ubuntu-latest'
- name: Upload coverage report to codecov.io
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
if: matrix.os == 'ubuntu-latest'