Skip to content

Add coverage badge and try to speed up cacheable things #6

Add coverage badge and try to speed up cacheable things

Add coverage badge and try to speed up cacheable things #6

Workflow file for this run

name: Coverage
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
RUST_BACKTRACE: 1
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: coverage
run: |
cargo install cargo-tarpaulin
cargo tarpaulin --engine llvm --follow-exec --post-test-delay 10 --coveralls ${{ secrets.COVERALLS_REPO_TOKEN }} --skip-clean --features=openblas