Skip to content

Commit

Permalink
fix(tests): Tarpaulin config file
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpovel committed Mar 4, 2024
1 parent b82f097 commit 41a00c1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,7 @@ jobs:
# and https://github.com/xd009642/tarpaulin/issues/517#issuecomment-1779964669.
run: >
cargo tarpaulin
--out xml
--engine llvm
--no-default-features
--features all
--verbose
${{ matrix.cli-option }}
- name: Upload coverage reports to Codecov
Expand Down
16 changes: 16 additions & 0 deletions tarpaulin.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# For example files, see...
# https://github.com/xd009642/tarpaulin/blob/cacf8d887d66b20091e168e08b1a8b9778d819f4/tarpaulin.toml#L3
# https://github.com/matrix-org/matrix-rust-sdk/blob/82684d64d4d6ad84add1b627520aa3956cac9fc6/tarpaulin.toml#L4

[default]
engine = "Llvm"
skip-clean = true
no-default-features = true
all-features = true
exclude-files = ["build.rs"]

# For README.md tests, where child processes are spawned
follow-exec = true

[report]
out = ["Html", "Xml"]

0 comments on commit 41a00c1

Please sign in to comment.