Skip to content

Commit

Permalink
Update Tarpaulin and re-enable doctest coverage (#357)
Browse files Browse the repository at this point in the history
The [latest release of Tarpaulin](https://github.com/xd009642/tarpaulin/blob/0d593666415dbcc2e8c548e2876f350e1a0d73e0/CHANGELOG.md#0183-2021-10-24) fixes the issues with running doctests during code coverage analysis. Upgrade Tarpaulin version and re-enable doctests in the analysis job so that doctests once again count towards our test coverage.

Also include some various other code coverage config cleanup.

See also xd009642/tarpaulin#848.
  • Loading branch information
sagebind authored Oct 24, 2021
1 parent cadb0c9 commit 2cc2604
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
6 changes: 0 additions & 6 deletions .github/actions-rs/grcov.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ coverage:
project:
default:
threshold: 1%
ignore:
- "testserver/**/*"
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ jobs:
args: --features ${{ env.FEATURES }},unstable-interceptors

- name: Generate code coverage report
uses: actions-rs/[email protected]
uses: actions-rs/[email protected].3
with:
version: '0.18.2'
args: "-p isahc --run-types Tests --features ${{ env.FEATURES }}"
version: '0.18.3'
args: "-p isahc --run-types Tests,Doctests --features ${{ env.FEATURES }}"

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false

0 comments on commit 2cc2604

Please sign in to comment.