From a52c9e0761688f421ddd0ade78dfe16c8d5217f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Brey=20Vilas?= Date: Fri, 1 Oct 2021 12:47:44 +0200 Subject: [PATCH] codecov: Use new codecov uploader instead of the deprecated bash uploader MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ref: https://docs.codecov.com/docs/about-the-codecov-bash-uploader Old bash uploader has been deprecated and will start failing on September 2021, with it completely failing from February 2022. Signed-off-by: Álvaro Brey Vilas --- scripts/runCombinedTest.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/runCombinedTest.sh b/scripts/runCombinedTest.sh index 82709d95f1..1e768b51fe 100755 --- a/scripts/runCombinedTest.sh +++ b/scripts/runCombinedTest.sh @@ -33,8 +33,9 @@ fi ./gradlew combinedTestReport stat=$(( stat | $? )) -curl -o codecov.sh https://codecov.io/bash -bash ./codecov.sh -t fc506ba4-33c3-43e4-a760-aada38c24fd5 +curl -Os https://uploader.codecov.io/latest/linux/codecov +chmod +x codecov +./codecov -t fc506ba4-33c3-43e4-a760-aada38c24fd5 echo "Exit with: " $stat exit $stat