From 6165e5ae19664c852f87b12393cfaf3dc90871a9 Mon Sep 17 00:00:00 2001 From: Tobias Trabelsi Date: Sat, 9 Jul 2022 23:15:25 +0200 Subject: [PATCH] use correct test function --- .drone.yml | 6 +++--- Makefile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index ed18b47..c50b07a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,18 +24,18 @@ steps: - /usr/bin/entrypoint /bin/s6-svscan /etc/s6 environment: GITEA_PASSWORD: - from_secret: GITEA_PASSWORD + from_secret: GITEA_TEST_PASSWORD - name: test image: golang:1.18.3-alpine3.16 commands: - "apk add --update --no-cache make build-base" - - "make test" + - "make testacc" environment: TF_ACC: 1 GITEA_BASE_URL: "http://localhost:3000" GITEA_USERNAME: test GITEA_PASSWORD: - from_secret: GITEA_PASSWORD + from_secret: GITEA_TEST_PASSWORD when: event: - push diff --git a/Makefile b/Makefile index dc91e40..184b56a 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ test: fmt-check xargs -t -n4 go test $(TESTARGS) -timeout=30s -parallel=4 testacc: fmt-check - TF_ACC=1 go test -v $(TEST) $(TESTARGS) -timeout 40m + go test -v $(TEST) $(TESTARGS) -timeout 40m vet: @echo "go vet ."