Skip to content

Commit 9c69207

Browse files
committed
tests should run in root of project
1 parent 396587d commit 9c69207

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/test.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fi
88
# if gotestfmt is installed, run with it
99
if [ -x "$(command -v gotestfmt)" ]; then
1010
set -o pipefail
11-
go test ./... ${GO_TEST_FLAGS} -json | gotestfmt ${GOTESTFMT_FLAGS}
11+
go test ${SOURCE_FILES} ${GO_TEST_FLAGS} -json | gotestfmt ${GOTESTFMT_FLAGS}
1212
else
13-
go test ./... ${GO_TEST_FLAGS}
13+
go test ${SOURCE_FILES} ${GO_TEST_FLAGS}
1414
fi

0 commit comments

Comments
 (0)