From 9544b5e26bf08d04966e77da77216b8173b88ff4 Mon Sep 17 00:00:00 2001 From: "Hadrien G." Date: Wed, 30 Oct 2024 07:21:04 +0100 Subject: [PATCH 1/3] Wait for both codecov builds to upload --- codecov.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/codecov.yml b/codecov.yml index 3e8ff8d..b44cad3 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,2 +1,6 @@ ignore: - "hwlocality-sys/build.rs" + +codecov: + notify: + after_n_builds: 2 From 869de3ed5d22d95b784fe844a869950957d00e8c Mon Sep 17 00:00:00 2001 From: "Hadrien G." Date: Wed, 30 Oct 2024 08:04:17 +0100 Subject: [PATCH 2/3] Slightly tune up project coverage threshold to reduce false positives --- codecov.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/codecov.yml b/codecov.yml index b44cad3..4d59383 100644 --- a/codecov.yml +++ b/codecov.yml @@ -4,3 +4,9 @@ ignore: codecov: notify: after_n_builds: 2 + +coverage: + status: + project: + default: + threshold: 0.2 From 805e371f338dee378ea630cefdd31fa7bd357c79 Mon Sep 17 00:00:00 2001 From: "Hadrien G." Date: Wed, 30 Oct 2024 08:13:51 +0100 Subject: [PATCH 3/3] Remove workaround that shouldn't be necessary anymore --- .github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d89c0e7..150c9b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -465,9 +465,6 @@ jobs: - name: Measure code coverage run: cargo tarpaulin --verbose --timeout 120 --out xml - env: - # FIXME: Workaround for https://github.com/xd009642/tarpaulin/issues/1499 - RUSTFLAGS: -C strip=none - name: Upload to codecov.io uses: codecov/codecov-action@v4