Skip to content

Commit

Permalink
Add coverage workflow (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleades authored Jun 29, 2023
1 parent 86d253e commit 48ab46d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push:
branches: [master]
pull_request:

name: Code Coverage

jobs:
coverage:
name: coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- uses: taiki-e/install-action@cargo-llvm-cov
- run: cargo llvm-cov --doctests --lcov --output-path lcov.info
- uses: codecov/codecov-action@v3
with:
files: lcov.info
fail_ci_if_error: true

0 comments on commit 48ab46d

Please # to comment.