Skip to content

Commit

Permalink
exclude benchmarks from code coverage (#1745)
Browse files Browse the repository at this point in the history
* exclude benchmarks from code coverage

* fix

* test codecov
  • Loading branch information
Geal committed May 5, 2024
1 parent 1f6ffe5 commit 4262fd8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -190,9 +190,10 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: tarpaulin
args: --output-dir coverage --out Lcov
args: --output-dir coverage --out xml --workspace --exclude benchmarks

- name: Publish to Coveralls
uses: coverallsapp/github-action@master
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.CODECOV_TOKEN }}
slug: rust-bakery/nom

0 comments on commit 4262fd8

Please sign in to comment.