Skip to content

Commit

Permalink
Test adding coveralls (mirrors existing test)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntjohnson1 committed Dec 27, 2023
1 parent b72d132 commit 3f80c00
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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 tarpaulin --engine llvm --follow-exec --post-test-delay 10 --coveralls ${{ secrets.COVERALLS_REPO_TOKEN }} --features=openblas

0 comments on commit 3f80c00

Please sign in to comment.