add race detection for tests
This commit is contained in:
parent
fcfb48d88e
commit
b2a4fafdb4
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ before:
|
||||||
- go generate
|
- go generate
|
||||||
- go run github.com/google/go-licenses@latest check . --disallowed_types=restricted
|
- go run github.com/google/go-licenses@latest check . --disallowed_types=restricted
|
||||||
- go mod tidy
|
- go mod tidy
|
||||||
- go test -v ./...
|
- go test -race -v ./...
|
||||||
|
|
||||||
builds:
|
builds:
|
||||||
- id: casaos-amd64
|
- id: casaos-amd64
|
||||||
|
|
|
@ -6,7 +6,7 @@ before:
|
||||||
- go generate
|
- go generate
|
||||||
- go run github.com/google/go-licenses@latest check . --disallowed_types=restricted
|
- go run github.com/google/go-licenses@latest check . --disallowed_types=restricted
|
||||||
- go mod tidy
|
- go mod tidy
|
||||||
- go test -v ./...
|
- go test -race -v ./...
|
||||||
|
|
||||||
builds:
|
builds:
|
||||||
- id: casaos-amd64
|
- id: casaos-amd64
|
||||||
|
|
Loading…
Reference in a new issue