mirror of
https://github.com/prymitive/karma
synced 2026-02-13 20:59:53 +00:00
fix(ci): tweak fragile tests
This commit is contained in:
committed by
Łukasz Mierzwa
parent
2883de82df
commit
01629d9788
@@ -17,7 +17,7 @@ I=0
|
||||
for d in $PKGS; do
|
||||
I=$((I+1))
|
||||
COVFILE="profile.test.${I}"
|
||||
(go test -coverprofile="${COVFILE}" -coverpkg="$COVERPKG" $d 2>&1 || exit 2) \
|
||||
(go test -count=1 -coverprofile="${COVFILE}" -coverpkg="$COVERPKG" $d 2>&1 || exit 2) \
|
||||
| grep -v 'warning: no packages being tested depend on matches for pattern' \
|
||||
| sed s/'of statements in .*'/''/g
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user