Skip to content

fix: github action coverage workflow (#4) #22

fix: github action coverage workflow (#4)

fix: github action coverage workflow (#4) #22

Workflow file for this run

name: Coverage
on: push
jobs:
cover:
name: Auto Codecov Coverage
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@master
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo-tarpaulin
uses: actions-rs/[email protected]
with:
version: '0.15.0'
args: '-- --test-threads 1'
- name: Upload to codecov.io
uses: codecov/codecov-action@v1
with:
token: ${{secrets.CODECOV_TOKEN}}