aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2022-01-21 15:20:09 +0200
committerPetri Savolainen <petri.savolainen@nokia.com>2022-01-26 09:01:03 +0200
commit1f16b9f0106d7f98a445c351ad407aa0248086f7 (patch)
treebf12f073a709004cb503b18eaa368627e00ec439 /scripts
parentadc15ab352b7a7765541027533fcc09411dadf4a (diff)
ci: update codecov uploader version
Upgrade to Codecov uploader V2 as V1 is being discontinued. The new uploader doesn't convert *.gcno files into *.gcov files automatically anymore, so this has to be done now manually in the coverage.sh script. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci/coverage.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/ci/coverage.sh b/scripts/ci/coverage.sh
index 72b9f3d9e..d6a8a6d0e 100755
--- a/scripts/ci/coverage.sh
+++ b/scripts/ci/coverage.sh
@@ -29,4 +29,7 @@ ODP_SCHEDULER=scalable CI_SKIP=pktio_test_pktin_event_sched make check
ODP_SCHEDULER=sp make check
popd
+# Convert gcno files into gcov (required by Codecov)
+find . -type f -name '*.gcno' -exec gcov -pb {} +
+
umount /mnt/huge