-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Tarpaulin and re-enable doctest coverage (#357)
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
Showing
3 changed files
with
6 additions
and
10 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ coverage: | |
project: | ||
default: | ||
threshold: 1% | ||
ignore: | ||
- "testserver/**/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |