1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-05 18:40:59 +00:00

test: enable data race detector in CI-executed tests

This commit is contained in:
Mathieu Fenniak 2025-08-12 10:46:18 -06:00
parent 8f5470ad37
commit 528bb594af
2 changed files with 6 additions and 6 deletions

View file

@ -146,8 +146,8 @@ jobs:
- name: integration test
run: |
go test ./act/container
go test -timeout 30m ./act/runner/...
go test -race ./act/container
go test -race -timeout 30m ./act/runner/...
runner-integration-tests:
name: runner integration tests

View file

@ -106,12 +106,12 @@ fmt-check:
fi;
test: lint-check fmt-check
$(GO) test -v -short -cover -coverprofile coverage.txt ./internal/...
$(GO) test -short ./act/container
$(GO) test ./act/artifactcache/... ./act/workflowpattern/... ./act/filecollector/... ./act/common/... ./act/jobparser ./act/model ./act/exprparser ./act/schema
$(GO) test -v -race -short -cover -coverprofile coverage.txt ./internal/...
$(GO) test -race -short ./act/container
$(GO) test -race ./act/artifactcache/... ./act/workflowpattern/... ./act/filecollector/... ./act/common/... ./act/jobparser ./act/model ./act/exprparser ./act/schema
integration-test:
@$(GO) test -v ./internal/app/run/...
@$(GO) test -race -v ./internal/app/run/...
.PHONY: vet
vet: