diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 545fb337..0aa077ba 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -17,4 +17,13 @@ jobs: - name: build run: make build - name: test - run: make test + run: | + unset ACTIONS_RUNTIME_URL + unset ACTIONS_RESULTS_URL + unset ACTIONS_RUNTIME_TOKEN + export GITHUB_REPOSITORY="${GITHUB_REPOSITORY#${SERVER_URL%/}/}" + export ACT_REPOSITORY="${GITHUB_REPOSITORY}" + export ACT_OWNER="${ACT_REPOSITORY%%/*}" + make test + env: + SERVER_URL: ${{ github.server_url }} diff --git a/Makefile b/Makefile index 5d69d708..733fd5be 100644 --- a/Makefile +++ b/Makefile @@ -137,7 +137,7 @@ tidy-check: tidy fi test: fmt-check security-check - @$(GO) test -race -v -cover -coverprofile coverage.txt ./... && echo "\n==>\033[32m Ok\033[m\n" || exit 1 + @$(GO) test -v -cover -coverprofile coverage.txt ./... && echo "\n==>\033[32m Ok\033[m\n" || exit 1 .PHONY: vet vet: