mirror of
https://github.com/panjf2000/ants.git
synced 2025-12-18 19:31:02 +00:00
🍀 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…
x
Reference in New Issue
Block a user