Skip to content

chore: Refactor ongoing implementation #260

chore: Refactor ongoing implementation

chore: Refactor ongoing implementation #260

Workflow file for this run

name: Test Coverage
# TODO: Extend to pull requests and report the diff.
on: [push]
jobs:
coverage:
name: Test Coverage
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/install@v0.1
with:
crate: cargo-tarpaulin
version: latest
- name: Cargo tarpaulin
uses: actions-rs/cargo@v1
with:
command: tarpaulin
args: --out Xml
- name: Upload the report to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}