diff options
| author | mo khan <mo@mokhan.ca> | 2025-06-13 15:18:08 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-06-13 15:18:08 -0600 |
| commit | 2d120cad9b96a6318e730b6d9a9c39c4ee433c42 (patch) | |
| tree | 89570193c5004e55eb84816615d948083c2e8624 /.gitlab-ci.yml | |
| parent | be6b50b79b543022c211e6fda9fd1ea4c56b93db (diff) | |
chore: add job for running tests to search for race conditions
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 7 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 |
