mirror of
https://github.com/slackhq/nebula.git
synced 2025-12-15 15:20:44 -08:00
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:
parent
77a8ce1712
commit
0912ef14f4
2 changed files with 2 additions and 1 deletions
2
.github/workflows/smoke.yml
vendored
2
.github/workflows/smoke.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
1
Makefile
1
Makefile
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue