mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-30 05:56:54 -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}
|
echo "mode: set" | cat - ${COV_SORTED} > ${COVERAGE_FILE}
|
||||||
|
|
||||||
if [ "$FAIL" -eq 0 ]; then
|
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
|
fi
|
||||||
|
|
||||||
exit $FAIL
|
exit $FAIL
|
||||||
|
Loading…
Reference in New Issue
Block a user