Skip to content

Commit 005f0f8

Browse files
authored
Merge pull request #47 from Basekick-Labs/fix/ci-race-test-limits
fix(ci): prevent race test OOM and fix cross-platform check (#33)
2 parents 0bad176 + b38fa45 commit 005f0f8

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ jobs:
2525

2626
- name: Test
2727
run: make test
28+
env:
29+
GOGC: 50

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
test:
22
go test ./...
3-
go test ./... -short -race
3+
go test ./... -short -race -count=1 -timeout=5m
44
go test ./... -run=NONE -bench=. -benchmem
5-
env GOOS=linux GOARCH=386 go test ./...
5+
env GOOS=linux GOARCH=386 go vet ./...
66
go vet

0 commit comments

Comments
 (0)