Skip to content

Commit

Permalink
ci(e2e): run pr-e2e with race
Browse files Browse the repository at this point in the history
  • Loading branch information
corverroos committed Oct 10, 2024
1 parent 1b8e8d2 commit a8853dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/pr-e2etest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:

- name: Build binaries
uses: goreleaser/goreleaser-action@v5
env:
RACE: true
with:
version: 2
args: release -f .goreleaser-snapshot.yaml --snapshot --clean --skip=archive
Expand Down
3 changes: 2 additions & 1 deletion .goreleaser-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ builds:
- id: halo
main: ./halo
binary: halo
env: [CGO_ENABLED=0]
env: ["CGO_ENABLED={{ if index .Env \"RACE\" }}1{{ else }}0{{ end }}"]
goos: [linux]
goarch: [amd64]
flags: ["{{ if index .Env \"RACE\" }}-race{{ end }}"]

- id: relayer
main: ./relayer
Expand Down

0 comments on commit a8853dc

Please sign in to comment.