From 04fe4a9301556e84942ef79b9322ee13f54cb049 Mon Sep 17 00:00:00 2001 From: Samuel Felton Date: Sun, 22 Sep 2024 16:54:57 +0200 Subject: [PATCH 1/3] Fix wrong indentation ios coverage --- .github/workflows/ios.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index f991347bdf..77c5c1ecb6 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -40,6 +40,6 @@ jobs: run: | mkdir build cd build - # cf: doc\tutorial\ios\tutorial-install-iOS.dox + # cf: doc\tutorial\ios\tutorial-install-iOS.dox python ../platforms/ios/build_framework.py ios --iphoneos_deployment_target 12.0 --iphoneos_archs arm64 \ --build_only_specified_archs True From a3f08723360463a90c2b54f3455ad50ca1adb3cc Mon Sep 17 00:00:00 2001 From: Samuel Felton Date: Sun, 22 Sep 2024 17:00:13 +0200 Subject: [PATCH 2/3] Try and ignore test and program folders in codecov upload --- codecov.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/codecov.yml b/codecov.yml index 8c366c05f0..dc3a06ee31 100644 --- a/codecov.yml +++ b/codecov.yml @@ -8,3 +8,16 @@ coverage: patch: default: informational: true + +ignore: + - "**/test/" + - "**/3rdparty/" + - "**/demo/" + - "**/example/" + - "**/apps/" + - "**/samples/" + - "**/tutorial/" + - "**/modules/gui" + - "**/modules/io/src/parallel-port" + - "**/modules/robot" + - "**/modules/sensor" From df8d5fb0be0d2e35daaa9f2a1975df3ba3f9012f Mon Sep 17 00:00:00 2001 From: Samuel Felton Date: Sun, 22 Sep 2024 21:42:17 +0200 Subject: [PATCH 3/3] Disable auto searching for coverage reports, see https://github.com/codecov/codecov-action/issues/1354 --- .github/workflows/coverage.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index d458eed576..ad7d04fad0 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -81,5 +81,6 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: ./build/visp-coverage.cleaned + disable_search: true fail_ci_if_error: true verbose: true