From c985267c37a5161871cd509bc2957ff25fe8de78 Mon Sep 17 00:00:00 2001 From: Adam Poulemanos <89049923+bashandbone@users.noreply.github.com> Date: Wed, 18 Mar 2026 12:44:53 -0400 Subject: [PATCH 1/2] Refactor code coverage command in CI workflow Refactor code coverage generation command for clarity and add filename ignore patterns. --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e413e6..cee41c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,8 +97,13 @@ jobs: uses: taiki-e/install-action@cargo-llvm-cov - name: Generate code coverage - run: cargo llvm-cov --all-features --workspace --include-build-script --lcov --output-path lcov.info - + run: | + cargo llvm-cov \ + --all-features --workspace \ + --include-build-script \ + --lcov --output-path lcov.info + --ignore-filename-regex \ + '^\..*|^dev/.*|^tests/.*|^C[LaHO].*|.*\.toml$|.*\.pkl$|.*\.license$|.*\.spdx$|.*\.md$|benches/.*|.*long_about\.rs$|scripts/.*$' - name: Upload coverage to Codecov uses: codecov/codecov-action@v5 with: From 5639be8b85758ca053d2aa8a7694305b21e83857 Mon Sep 17 00:00:00 2001 From: Adam Poulemanos <89049923+bashandbone@users.noreply.github.com> Date: Wed, 18 Mar 2026 12:54:56 -0400 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cee41c2..7ba4c6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,7 +101,7 @@ jobs: cargo llvm-cov \ --all-features --workspace \ --include-build-script \ - --lcov --output-path lcov.info + --lcov --output-path lcov.info \ --ignore-filename-regex \ '^\..*|^dev/.*|^tests/.*|^C[LaHO].*|.*\.toml$|.*\.pkl$|.*\.license$|.*\.spdx$|.*\.md$|benches/.*|.*long_about\.rs$|scripts/.*$' - name: Upload coverage to Codecov