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 ."