Skip to content

Commit

Permalink
codecov coverage report #64
Browse files Browse the repository at this point in the history
  • Loading branch information
frosklis committed Mar 22, 2021
1 parent 3739eac commit 9a8b7e4
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,27 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:
test-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Run cargo-tarpaulin
uses: actions-rs/tarpaulin@v0.1
with:
args: '-- --ignore-tests --exclude-files examples/* src/main.rs --out Xml --run-types AllTargets'
- name: Upload to codecov.io
uses: codecov/codecov-action@v1.0.2
with:
token: ${{secrets.CODECOV_TOKEN}}
test-check:
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable, 1.38.0, beta, nightly]
rust: [1.38.0, beta, nightly]

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 9a8b7e4

Please sign in to comment.