Skip to content

Commit

Permalink
Fix code coverage to include coverage from doctests
Browse files Browse the repository at this point in the history
Use of nightly compiler is required due to unstable feature
<rust-lang/rust#56925>.
  • Loading branch information
csnover committed Aug 13, 2022
1 parent 0c71184 commit 80ac221
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,15 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: nightly
override: true
- name: Run tarpaulin
uses: actions-rs/tarpaulin@v0.1
with:
args: >
--workspace --manifest-path binrw/Cargo.toml
--exclude-files binrw/tests
--doc --tests
# https://github.com/actions/runner/issues/520
- name: Determine whether codecov.io secret is available
id: has_codecov
Expand Down

0 comments on commit 80ac221

Please sign in to comment.