From ad573699a0b31f3050de6e9a2f4d65dd96a510a7 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Sun, 16 Jun 2024 16:20:21 +0200 Subject: [PATCH] Exclude problematic derive code coverage --- .gitea/workflows/gitea-ci.yaml | 1 + README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitea/workflows/gitea-ci.yaml b/.gitea/workflows/gitea-ci.yaml index b7dabfb..9a9e403 100644 --- a/.gitea/workflows/gitea-ci.yaml +++ b/.gitea/workflows/gitea-ci.yaml @@ -37,6 +37,7 @@ jobs: --ignore "tests/*" --ignore "src/main.rs" --ignore "src/bin/musichoard-edit.rs" + --excl-line "^#\[derive" \ --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 457e635..e88046b 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ grcov codecov/debug/profraw \ --ignore "tests/*" \ --ignore "src/main.rs" \ --ignore "src/bin/musichoard-edit.rs" \ + --excl-line "^#\[derive" \ --excl-start "GRCOV_EXCL_START|mod tests \{" \ --excl-stop "GRCOV_EXCL_STOP" \ --output-path ./codecov/debug/coverage/