From 80ac22165066df29fe9482911e4b4925eb09cdee Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sat, 13 Aug 2022 10:57:45 -0500 Subject: [PATCH] Fix code coverage to include coverage from doctests Use of nightly compiler is required due to unstable feature . --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 00a1bfc9..82089794 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -95,7 +95,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: nightly override: true - name: Run tarpaulin uses: actions-rs/tarpaulin@v0.1 @@ -103,6 +103,7 @@ jobs: 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