use correct test function

This commit is contained in:
Tobias Trabelsi 2022-07-09 23:15:25 +02:00
parent 021db20aa1
commit 6165e5ae19
No known key found for this signature in database
GPG key ID: FF0C2839718CAF2E
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

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