Skip to content

Demoded controls

Demoded controls #191

Workflow file for this run

name: Run Coverage
on:
workflow_dispatch:
pull_request:
push:
jobs:
coverage:
name: Run Coverage
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: |
mkdir coverage
cargo llvm-cov --all-features --workspace --lcov --output-path ./coverage/lcov.info
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}