mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
exclude vendor folder in coverage
This commit is contained in:
parent
74ad6eaff9
commit
22bd34e63f
@ -41,7 +41,7 @@ for OUT_FILE in $(find ${V2RAY_COV} -name "*.out"); do
|
||||
done
|
||||
|
||||
COV_SORTED=${V2RAY_COV}/coverallsorted.out
|
||||
cat ${COVERAGE_FILE} | sort -t: -k1 | grep -vw "testing" | grep -v ".pb.go" > ${COV_SORTED}
|
||||
cat ${COVERAGE_FILE} | sort -t: -k1 | grep -vw "testing" | grep -v ".pb.go" | grep -vw "vendor" > ${COV_SORTED}
|
||||
echo "mode: set" | cat - ${COV_SORTED} > ${COVERAGE_FILE}
|
||||
|
||||
if [ "$FAIL" -eq 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user