diff options
author | Matias Elo <matias.elo@nokia.com> | 2022-01-21 15:20:09 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2022-01-31 16:46:35 +0200 |
commit | 9203303c8110ccc7ca3a37f08f8699be089b7fa7 (patch) | |
tree | 127448a54e9ca78ef432dde5adb332361ba1ad9a /scripts/ci | |
parent | 6f23b0d82ae41c08e67e4aca452dc317208ce911 (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/ci')
-rwxr-xr-x | scripts/ci/coverage.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/ci/coverage.sh b/scripts/ci/coverage.sh index cdcddfe93..40670b798 100755 --- a/scripts/ci/coverage.sh +++ b/scripts/ci/coverage.sh @@ -24,3 +24,6 @@ pushd ./test/validation/api/ ODP_SCHEDULER=sp make check popd +# Convert gcno files into gcov (required by Codecov) +find . -type f -name '*.gcno' -exec gcov -pb {} + + |