mirror of
https://github.com/prymitive/karma
synced 2026-08-23 11:56:20 +00:00
fix(ci): don't suppress errors when running main tests
This commit is contained in:
committed by
Łukasz Mierzwa
parent
d860dae3ca
commit
a270f31aa0
+9
-13
@@ -17,21 +17,17 @@ go test \
|
||||
-coverpkg="$COVERPKG" \
|
||||
-c \
|
||||
-tags testrunmain \
|
||||
./cmd/karma 2>&1 \
|
||||
| (grep -v 'warning: no packages being tested depend on matches for pattern' || true)
|
||||
./cmd/karma
|
||||
|
||||
(
|
||||
ALERTMANAGER_URI=http://localhost \
|
||||
ALERTMANAGER_INTERVAL=1s \
|
||||
LISTEN_ADDRESS=127.0.0.1 \
|
||||
LISTEN_PORT=0 \
|
||||
LOG_LEVEL=fatal \
|
||||
LOG_CONFIG=false \
|
||||
ALERTMANAGER_URI=http://localhost \
|
||||
ALERTMANAGER_INTERVAL=1s \
|
||||
LISTEN_ADDRESS=127.0.0.1 \
|
||||
LISTEN_PORT=0 \
|
||||
LOG_LEVEL=fatal \
|
||||
LOG_CONFIG=false \
|
||||
./karma.test \
|
||||
-test.run "^TestRunMain$" \
|
||||
-test.coverprofile=profile.main.1 2>&1 \
|
||||
| grep -v 'warning: no packages being tested depend on matches for pattern' \
|
||||
| sed s/'of statements in .*'/''/g &)
|
||||
-test.run '^TestRunMain$' \
|
||||
-test.coverprofile=profile.main.1 &
|
||||
|
||||
sleep 5
|
||||
killall karma.test
|
||||
|
||||
Reference in New Issue
Block a user