Commit 8ed0837
authored
fix: include doctests in test coverage calculations (#397)
* update tarpaulin used in CI to latest available version
* fix: try including `--doc --examples` in tarpaulin arguments, to include coverage by doctests and code examples
* revert back to 0.22.0 until tarpaulin action is fixed: actions-rs/tarpaulin#23
It seems like the download is broken in the `actions-rs/tarpaulin` GitHub Action for all tarpaulin versions above `0.22.0`. See this pending fix for details:
actions-rs/tarpaulin#23
* try with the nightly toolchain for code coverage of doctests
* document in-code the current problem with artefact download blocking tarpaulin update
* try with `--run-types Tests,Doctests` for full coverage: xd009642/tarpaulin#5381 parent 8beee14 commit 8ed0837
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | | - | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
0 commit comments