From dc6651f04c7bda4426cbf6ac4032f481f4c3d4ab Mon Sep 17 00:00:00 2001 From: Andrea Pappacoda Date: Sat, 13 Jan 2024 18:06:00 +0100 Subject: [PATCH] run gcov with codecov --- .github/workflows/linux.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index 3ee8110c9..a4344d962 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -103,8 +103,8 @@ jobs: echo 'gcov "$@"' >> $HOME/.local/bin/cov.sh fi chmod +x $HOME/.local/bin/cov.sh + export PATH="$HOME/.local/bin:$PATH" cd build - find .. -name '*.gcda' -o -name '*.gcno' | xargs $HOME/.local/bin/cov.sh --branch-probabilities --preserve-paths --relative-only curl --remote-name-all \ https://keybase.io/codecovsecurity/pgp_keys.asc \ https://uploader.codecov.io/latest/linux/codecov \ @@ -113,4 +113,4 @@ jobs: sqop verify codecov.SHA256SUM.sig pgp_keys.asc < codecov.SHA256SUM sha256sum --check codecov.SHA256SUM chmod +x codecov - ./codecov + ./codecov --verbose --gcov --gcovExecutable cov.sh --gcovArgs '--branch-probabilities --preserve-paths --relative-only' --gcovIgnore '**/tests/**'