aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2022-02-17 17:07:11 -0300
committerHisham Muhammad <hisham@gobolinux.org>2022-03-06 14:57:19 -0300
commit1138b2c1d84cee1dd165b17bd353e2ca38466eb7 (patch)
treecac91b53a34f7b23a5f857c19ecdb0a8fb560d32 /.github
parente06935214612d5c09dd4e0faf9bb28cb6ec6d895 (diff)
downloadluarocks-1138b2c1d84cee1dd165b17bd353e2ca38466eb7.tar.gz
luarocks-1138b2c1d84cee1dd165b17bd353e2ca38466eb7.tar.bz2
luarocks-1138b2c1d84cee1dd165b17bd353e2ca38466eb7.zip
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
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml4
1 files changed, 3 insertions, 1 deletions
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:
83 run: | 83 run: |
84 eval $(luarocks path) 84 eval $(luarocks path)
85 luacov -c testrun/luacov.config 85 luacov -c testrun/luacov.config
86 ( cd testrun/ && bash <(curl -s https://codecov.io/bash) ) 86 curl -Os https://uploader.codecov.io/latest/$([ `uname -s` = "Linux" ] && echo "linux" || echo "macos")/codecov
87 chmod +x codecov
88 ( cd testrun/ && ../codecov )
87 grep "Summary" -B1 -A1000 testrun/luacov.report.out 89 grep "Summary" -B1 -A1000 testrun/luacov.report.out
88 90
89 ############################################################################## 91 ##############################################################################