From b51f85fecc6ca43b2e966a1b616adf51776740c7 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Fri, 3 Jan 2025 16:50:37 +0100 Subject: [PATCH] Coverage fix --- .gitea/workflows/gitea-ci.yaml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/gitea-ci.yaml b/.gitea/workflows/gitea-ci.yaml index 4df9bd6..fceaad3 100644 --- a/.gitea/workflows/gitea-ci.yaml +++ b/.gitea/workflows/gitea-ci.yaml @@ -38,7 +38,7 @@ jobs: --ignore "tests/*" --ignore "src/main.rs" --ignore "src/bin/musichoard-edit.rs" - --excl-line "^#\[derive|unimplemented\!\(\)" + --excl-line "^#\[derive|unimplemented\!\(|unreachable\!\(" --excl-start "GRCOV_EXCL_START|mod tests \{" --excl-stop "GRCOV_EXCL_STOP" --output-path ./target/debug/coverage/ diff --git a/README.md b/README.md index c2aeb62..7e1bc40 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ grcov codecov/debug/profraw \ --ignore "tests/*" \ --ignore "src/main.rs" \ --ignore "src/bin/musichoard-edit.rs" \ - --excl-line "^#\[derive|unimplemented\!\(\)" \ + --excl-line "^#\[derive|unimplemented\!\(|unreachable\!\(" \ --excl-start "GRCOV_EXCL_START|mod tests \{" \ --excl-stop "GRCOV_EXCL_STOP" \ --output-path ./codecov/debug/coverage/