diff options
| -rw-r--r-- | .gitlab-ci.yml | 7 | ||||
| -rw-r--r-- | Makefile | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 25dca9e..c5c5e0b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,6 +37,13 @@ unit: stage: test script: - go test ./... +race: + image: golang:alpine + stage: test + script: + - go test -race -shuffle=on ./... + variables: + CGO_ENABLED: 1 integration: image: golang:1.24.3 stage: test @@ -31,6 +31,9 @@ setup: build: bin/authzd bin/sparkled test-unit: + @go test -shuffle=on ./... + +test-race: @CGO_ENABLED=1 go test -race -shuffle=on ./... test-integration: build-image |
