forked from mirror/ants
🍀 Specify cpu flag in go test
This commit is contained in:
parent
250b05bd03
commit
454693c2db
|
@ -11,7 +11,7 @@ before_install:
|
||||||
- go get -t -v ./...
|
- go get -t -v ./...
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test -cpu=16 -bench=. -benchmem=true -run=none ./...
|
#- go test -cpu=16 -bench=. -benchmem=true -run=none ./...
|
||||||
- go test -race -cpu=1,16 -coverprofile=coverage.txt -covermode=atomic -v
|
- go test -race -cpu=1,16 -coverprofile=coverage.txt -covermode=atomic -v
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
|
|
Loading…
Reference in New Issue