Skip to content

Commit 9db3431

Browse files
committed
🐛 Run unittests in CI
This accidentally got disabled in cd065bf under the assumption that the CI entrypoint is the Makefile in an attempt to make this configurable. Since the script is called `test_all.sh`, it is reasonable to assume it always test verything. If ppl want something else, they can just add another script/maketarget.
1 parent 3b25aa6 commit 9db3431

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
SHELL:=/usr/bin/env bash
2525
.DEFAULT_GOAL:=help
2626

27-
export WHAT ?= ./...
28-
2927
# Use GOPROXY environment variable if set
3028
GOPROXY := $(shell go env GOPROXY)
3129
ifeq ($(GOPROXY),)

hack/test-all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ source $(dirname ${BASH_SOURCE})/common.sh
2020

2121
header_text "running go test"
2222

23-
go test -race ${MOD_OPT} ${WHAT}
23+
go test -race ${MOD_OPT} ./...
2424

2525
if [[ -n ${ARTIFACTS:-} ]]; then
2626
if grep -Rin '<failure type="Failure">' ${ARTIFACTS}/*; then exit 1; fi

0 commit comments

Comments
 (0)