Run tests with race and coverage flags (#909)

This commit is contained in:
Adam Babik 2018-05-07 17:08:00 +02:00 committed by Ivan Daniluk
parent 246c5321ac
commit b6851d8186
1 changed files with 6 additions and 3 deletions

View File

@ -15,15 +15,18 @@ jobs:
- make lint
- make vendor-check
- stage: Test unit and integration
script: make test-unit-coverage
script:
- make test-unit-race
- make test-unit-coverage
- stage: Test e2e on private network
script: make test-e2e
script:
- make test-e2e-race
- stage: Test e2e on public network
# Disable running this stage for pushes as it's not needed to run it twice.
# We only want to check if tests on public testnet pass in a merge build.
# Also, disable for fork builds as they do not have access to
# ACCOUNT_PASSWORD environment variable anyway.
if: (type != push) AND (fork = false)
if: ((type != push) OR (branch = "develop")) AND (fork = false)
script:
# Sync the chain first. It will time out after 30 minutes. Used network: Rinkeby.
- make statusgo