Skip to content

Commit 85c63b9

Browse files
committed
Run BenchmarkTestnetMiner2 on independent line by gitlabci
1 parent 1e0c131 commit 85c63b9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.gitlab-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ test-my-project:
3030
- go test -v -race -failfast -parallel 16 -cpu 16 $(go list ./... | grep -v "/vendor/") -coverprofile cover.out
3131
- cd rpc && go test -test.bench ^BenchmarkPersistentCaller_Call$ -test.run ^$ && cd -
3232
- bash cleanupDB.sh || true
33-
- cd cmd/cql-minerd && go test -bench=^BenchmarkMinerTwo$ -benchtime=5s -run ^$ && cd -
34-
- cd cmd/cql-minerd && go test -bench=^BenchmarkTestnetMiner2$ -benchtime=5s -run ^$ && cd -
33+
- cd cmd/cql-minerd
34+
- go test -bench=^BenchmarkMinerTwo$ -benchtime=5s -run ^$
35+
- go test -bench=^BenchmarkTestnetMiner2$ -benchtime=5s -run ^$
36+
- cd -
3537
- gocovmerge cover.out $(find cmd -name "*.cover.out") | grep -F -v '_gen.go' > coverage.txt && rm -f cover.out
3638
- bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)