Skip to content

Full rewrite

Full rewrite #325

Workflow file for this run

name: Coverage
on:
pull_request:
branches: [main]
push:
branches: [main]
concurrency:
group: coverage-${{ github.ref }}
cancel-in-progress: true
jobs:
coveralls:
name: Coveralls
continue-on-error: true
runs-on: ubuntu-latest
env:
RUST_TEST_THREADS: "1"
steps:
- name: Install rust
uses: dtolnay/rust-toolchain@nightly
with:
components: llvm-tools-preview
- name: Checkout
uses: actions/checkout@v3
- name: Install llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
#- uses: Swatinem/rust-cache@v1
- name: Compute Coverage
env:
RUST_LOG: "debug"
run:
cargo llvm-cov
--all-features --workspace
--lcov --output-path lcov.info
- name: Upload to Coveralls
uses: coverallsapp/github-action@master
with:
path-to-lcov: lcov.info
github-token: ${{ secrets.github_token }}