split the tests to run in multiple pipes

This commit is contained in:
Jianrong 2021-08-26 19:52:14 +10:00
parent 2d92ccb59b
commit b9a9b4087b

View file

@ -15,22 +15,47 @@ jobs:
script: script:
- go run build/ci.go lint - go run build/ci.go lint
- stage: build - stage: test A-B packages
os: linux os: linux
dist: bionic dist: bionic
go: 1.15.x go: 1.15.x
env: env:
- GO111MODULE=auto - GO111MODULE=auto
script: script:
- go run build/ci.go test -coverage $TEST_PACKAGES - go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/[a-b].*")
# These builders run the tests - stage: test C packages
# - stage: build os: linux
# os: linux dist: bionic
# arch: amd64 go: 1.15.x
# dist: bionic env:
# go: 1.16.x - GO111MODULE=auto
# env: script:
# - GO111MODULE=auto - go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/[c].*")
# script:
# - go run build/ci.go test -coverage $TEST_PACKAGES - stage: test D-N packages
os: linux
dist: bionic
go: 1.15.x
env:
- GO111MODULE=auto
script:
- go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/[d-n].*")
- stage: test O-R packages
os: linux
dist: bionic
go: 1.15.x
env:
- GO111MODULE=auto
script:
- go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/[o-r].*")
- stage: test S-Z packages
os: linux
dist: bionic
go: 1.15.x
env:
- GO111MODULE=auto
script:
- go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/[s-z].*")