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 a54e8a4
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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

0 comments on commit a54e8a4

Please sign in to comment.