Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a nightly build to circleci which runs even the slow blockchain tests #1588

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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]
Expand Down