From 1138b2c1d84cee1dd165b17bd353e2ca38466eb7 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 17 Feb 2022 17:07:11 -0300 Subject: update Codecov uploader See my Codecov bug report at https://community.codecov.com/t/coverage-ui-off-by-one-when-file-starts-with-a-blank-line/3516/2 --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ddd5f18..370afb32 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -83,7 +83,9 @@ jobs: run: | eval $(luarocks path) luacov -c testrun/luacov.config - ( cd testrun/ && bash <(curl -s https://codecov.io/bash) ) + curl -Os https://uploader.codecov.io/latest/$([ `uname -s` = "Linux" ] && echo "linux" || echo "macos")/codecov + chmod +x codecov + ( cd testrun/ && ../codecov ) grep "Summary" -B1 -A1000 testrun/luacov.report.out ############################################################################## -- cgit v1.2.3-55-g6feb