Skip to content

Refactor some for loops to be clearer #11

Refactor some for loops to be clearer

Refactor some for loops to be clearer #11

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 --exclude-files 'py-tensor/**/*'