From 5388ad86f1d76c34545ae460545ca1377622a7c7 Mon Sep 17 00:00:00 2001 From: Guillaume Fraux Date: Mon, 18 Nov 2024 17:06:22 +0100 Subject: [PATCH] Update codecov patterns --- .codecov.yml | 7 +++++-- .github/workflows/coverage.yml | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 94bab7aef..100244eab 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -4,8 +4,11 @@ coverage: default: target: 80% patch: off + ignore: - - "tests/.*" - - "examples/.*" + - "**/tests/**/*" + - "**/tests/*" + - "**/examples/**/*" + - "**/examples/*" comment: false diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 32f5b4d2b..a56be1e71 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -56,8 +56,8 @@ jobs: echo "CMAKE_CXX_COMPILER_LAUNCHER=sccache" >> $GITHUB_ENV - name: collect rust and C/C++ coverage - env: - FEATOMIC_TEST_WITH_STATIC_LIB: "1" + # env: + # FEATOMIC_TEST_WITH_STATIC_LIB: "1" run: | cargo tarpaulin --all-features --workspace --engine=llvm --out=xml --output-dir=target/tarpaulin --objects target/debug/libfeatomic.so # cleanup C/C++ coverage