add race detection for tests

This commit is contained in:
Tiger Wang 2023-01-17 12:49:49 -05:00
parent fcfb48d88e
commit b2a4fafdb4
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ before:
- go generate
- go run github.com/google/go-licenses@latest check . --disallowed_types=restricted
- go mod tidy
- go test -v ./...
- go test -race -v ./...
builds:
- id: casaos-amd64

View file

@ -6,7 +6,7 @@ before:
- go generate
- go run github.com/google/go-licenses@latest check . --disallowed_types=restricted
- go mod tidy
- go test -v ./...
- go test -race -v ./...
builds:
- id: casaos-amd64