From eee736a6b89fb9a26b5ed0160c5a98fa439350bf Mon Sep 17 00:00:00 2001 From: David Laehnemann Date: Tue, 20 Jun 2023 16:34:57 +0200 Subject: [PATCH] fix: try including `--doc --examples` in tarpaulin arguments, to include coverage by doctests and code examples --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index bcd206c26..1470e7c32 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -68,7 +68,7 @@ jobs: uses: actions-rs/tarpaulin@v0.1 with: version: "0.26.0" - args: "--all-features --out Lcov -- --test-threads 1" + args: "--all-features --doc --examples --out Lcov -- --test-threads 1" - name: Upload coverage uses: coverallsapp/github-action@v1