Skip to content

Commit 0787f0a

Browse files
authored
Only compute coverage of the library (#148)
1 parent e66304c commit 0787f0a

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/coverage.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,8 @@ jobs:
88
tarpaulin:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions-rs/toolchain@v1
13-
with:
14-
toolchain: nightly
15-
override: true
11+
- uses: actions/checkout@v4
12+
- run: rustup default nightly
1613
- run: cargo install cargo-tarpaulin
17-
- run: >
18-
cd lib && cargo tarpaulin --coveralls=${{ secrets.COVERALLS_TOKEN }}
19-
--exclude-files=fuzz --exclude-files=tests --exclude-files=macro
14+
- run: cargo tarpaulin --coveralls=${{ secrets.COVERALLS_TOKEN }} --include-files=src/lib.rs
15+
working-directory: lib

0 commit comments

Comments
 (0)