From 4179aa2c0d3786d3acf4358dcb2dff06e753c92c Mon Sep 17 00:00:00 2001 From: Brian Cloutier Date: Wed, 12 Dec 2018 16:17:05 -0800 Subject: [PATCH] Add a nightly build which runs even the slow blockchain tests --- .circleci/config.yml | 16 ++++++++++++++++ tox.ini | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c6fc615ceb..1ed4353779 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -205,6 +205,12 @@ jobs: - image: circleci/python:3.6 environment: TOXENV: py36-native-blockchain-transition + py36-all-blockchain-tests: + <<: *common + docker: + - image: circleci/python:3.6 + environment: + TOXENV: py36-all-blockchain-tests py36-rpc-state-byzantium: <<: *common docker: @@ -330,6 +336,16 @@ jobs: workflows: version: 2 + nightly: + triggers: + - schedule: + cron: "0 0 * * *" + filters: + branches: + only: + - master + jobs: + - py36-all-blockchain-tests test: jobs: - py36-docs diff --git a/tox.ini b/tox.ini index 392867c3f2..e816dbdd8a 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ envlist= py{35,36}-{core,database,transactions,vm} py{36}-{benchmark,p2p,trinity,lightchain_integration,beacon} - py{36}-rpc-blockchain + py{36}-{rpc-blockchain,all-blockchain-tests} py{36}-rpc-state-{frontier,homestead,eip150,eip158,byzantium,quadratic} py{35,36}-native-blockchain-{frontier,homestead,eip150,eip158,byzantium,constantinople,metropolis,transition} py37-{core,trinity,trinity-integration,beacon} @@ -43,6 +43,7 @@ commands= native-blockchain-constantinople: pytest {posargs:tests/json-fixtures/test_blockchain.py --fork Constantinople} native-blockchain-metropolis: pytest {posargs:tests/json-fixtures/test_blockchain.py --fork Metropolis} native-blockchain-transition: pytest {posargs:tests/json-fixtures/test_blockchain.py -k BlockchainTests/TransitionTests} + all-blockchain-tests: TRAVIS_EVENT_TYPE=cron pytest {posargs:tests/json-fixtures/test_blockchain.py} lightchain_integration: pytest --integration {posargs:tests/trinity/integration/test_lightchain_integration.py} deps = .[p2p,trinity,eth-extra,test]