Skip to content

refactor(ssg): 🎨 refactor main.rs and add new tests and doc #253

refactor(ssg): 🎨 refactor main.rs and add new tests and doc

refactor(ssg): 🎨 refactor main.rs and add new tests and doc #253

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@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: lcov.info