Skip to content

Test adding coveralls (mirrors existing test) #4

Test adding coveralls (mirrors existing test)

Test adding coveralls (mirrors existing test) #4

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 }} --features=openblas