github actions smoke-test: run with data race detector (#988)

Run the github actions smoke tests with data race detector enabled, so
we can detect if a PR introduces a simple data race.
This commit is contained in:
Wade Simmons 2023-10-31 10:32:39 -04:00 committed by GitHub
parent 77a8ce1712
commit 0912ef14f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,7 @@ jobs:
check-latest: true
- name: build
run: make bin-docker
run: make bin-docker CGO_ENABLED=1 BUILD_ARGS=-race
- name: setup docker image
working-directory: ./.github/workflows/smoke

View File

@ -210,6 +210,7 @@ smoke-relay-docker: bin-docker
cd .github/workflows/smoke/ && ./smoke-relay.sh
smoke-docker-race: BUILD_ARGS = -race
smoke-docker-race: CGO_ENABLED = 1
smoke-docker-race: smoke-docker
.FORCE: