mirror of
https://github.com/slackhq/nebula.git
synced 2025-11-10 18:03:58 +01: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
.github/workflows/smoke.yml
vendored
2
.github/workflows/smoke.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
|||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: make bin-docker
|
run: make bin-docker CGO_ENABLED=1 BUILD_ARGS=-race
|
||||||
|
|
||||||
- name: setup docker image
|
- name: setup docker image
|
||||||
working-directory: ./.github/workflows/smoke
|
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
|
cd .github/workflows/smoke/ && ./smoke-relay.sh
|
||||||
|
|
||||||
smoke-docker-race: BUILD_ARGS = -race
|
smoke-docker-race: BUILD_ARGS = -race
|
||||||
|
smoke-docker-race: CGO_ENABLED = 1
|
||||||
smoke-docker-race: smoke-docker
|
smoke-docker-race: smoke-docker
|
||||||
|
|
||||||
.FORCE:
|
.FORCE:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user