mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
update coverall script
This commit is contained in:
parent
3d8f837c07
commit
07ca87990d
@ -45,7 +45,8 @@ cat ${COVERAGE_FILE} | sort -t: -k1 | grep -vw "testing" | grep -v ".pb.go" | gr
|
||||
echo "mode: set" | cat - ${COV_SORTED} > ${COVERAGE_FILE}
|
||||
|
||||
if [ "$FAIL" -eq 0 ]; then
|
||||
bash <(curl -s https://codecov.io/bash) -f ${COVERAGE_FILE} || echo "Codecov did not collect coverage reports."
|
||||
echo "Uploading coverage datea to codecov."
|
||||
bash <(curl -s https://codecov.io/bash) -f ${COVERAGE_FILE} -v || echo "Codecov did not collect coverage reports."
|
||||
fi
|
||||
|
||||
exit $FAIL
|
||||
|
Loading…
Reference in New Issue
Block a user