run just the batch tests for the batch tests

(cherry picked from commit 12dd3c5996)
This commit is contained in:
Matthew Jaffee 2022-11-16 13:35:56 -06:00 committed by Fletcher Haynes
parent 490a2c57b0
commit 10026d0a90

View file

@ -41,4 +41,4 @@ test-run-local:
TPKG ?= ../...
test-run: vendor
$(DOCKER_COMPOSE) build batch-test
$(DOCKER_COMPOSE) run -T batch-test bash -c "set -o pipefail; go test -v -mod=vendor -tags=odbc,dynamic $(TPKG) -covermode=atomic -coverpkg=$(TPKG) -coverprofile=/testdata/$(PROJECT)_base_coverage.out"
$(DOCKER_COMPOSE) run -T batch-test bash -c "set -o pipefail; go test -v -mod=vendor -tags=odbc,dynamic ./... -covermode=atomic -coverpkg=$(TPKG) -coverprofile=/testdata/$(PROJECT)_base_coverage.out"