Skip to content

Commit 506dab1

Browse files
authored
chore: Run tests with -tags=assert (#803)
This will catch bugs related to releasing Arrow records too many times.
1 parent 44a6ece commit 506dab1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/unittest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
- run: go build ./...
2525
- name: Run tests
2626
if: matrix.os != 'ubuntu-latest'
27-
run: go test -race ./...
27+
run: go test -tags=assert -race ./...
2828
- name: Run tests
2929
if: matrix.os == 'ubuntu-latest'
30-
run: go test -race -coverprofile=coverage.out ./...
30+
run: go test -tags=assert -race -coverprofile=coverage.out ./...
3131
- name: Run benchmark
3232
if: matrix.os == 'ubuntu-latest'
3333
run: make benchmark-ci

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: test
22
test:
3-
go test -race ./...
3+
go test -tags=assert -race ./...
44

55
.PHONY: lint
66
lint:

0 commit comments

Comments
 (0)