Skip to content

Commit

Permalink
Merge pull request #374 from ethereumjs/run-blockchain-tests-as-default
Browse files Browse the repository at this point in the history
Run blockchain tests as default on CI
  • Loading branch information
holgerd77 committed Oct 30, 2018
2 parents 09906e0 + 1402ad8 commit 906eb6c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 95 deletions.
61 changes: 0 additions & 61 deletions .circleci/config-blockchain-tests.yml

This file was deleted.

36 changes: 12 additions & 24 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,24 +46,6 @@ jobs:
- run:
name: testAPI
command: npm run testAPI
test_gas_limit:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
- *restore_node_modules
- run:
name: testBlockchainBlockGasLimit
command: npm run testBlockchainBlockGasLimit
test_total_difficulty:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
- *restore_node_modules
- run:
name: testBlockchainTotalDifficulty
command: npm run testBlockchainTotalDifficulty
test_state_byzantium:
<<: *defaults
steps:
Expand All @@ -82,6 +64,15 @@ jobs:
- run:
name: testStateConstantinople
command: npm run testStateConstantinople
test_blockchain:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
- *restore_node_modules
- run:
name: testBlockchain
command: npm run testBlockchain
coveralls:
<<: *defaults
steps:
Expand All @@ -102,18 +93,15 @@ workflows:
- test_api:
requires:
- install
- test_gas_limit:
requires:
- install
- test_total_difficulty:
requires:
- install
- test_state_byzantium:
requires:
- install
- test_state_constantinople:
requires:
- install
- test_blockchain:
requires:
- install
- coveralls:
requires:
- install
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Travis CI runs are deactivated in favour of CircleCI build checks
# Turn to the CircleCI configuration in .circleci directory for changing build settings
sudo: false
os:
- linux
Expand Down
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,13 +320,6 @@ It is also possible to only run the tests from the skip lists:

Tests are run on ``CircleCI`` on every PR, configuration can be found in ``.circleci/config.yml``.

Since ``BlockchainTests`` take too much time to run on every PR, only a selected set
of blockchain tests is triggered on a normal PR test run.

For a complete test run, create a new branch named ``run-blockchain-tests``, rename
``.circleci/config.yml`` -> ``.circleci/config-save.yml`` and ``.circleci/config-blockchain-tests.yml``
-> ``.circleci/config.yml`` and submit a PR with an additional ``[DO-NOT-MERGE]`` note. This will trigger a blockchain test run.

### Debugging

#### Local Debugging
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"testBuildIntegrity": "npm run build:dist && node ./tests/tester -s --dist --test='stackOverflow'",
"testBlockchain": "npm run build:dist && node --stack-size=1500 ./tests/tester -b --dist --excludeDir='GeneralStateTests'",
"testBlockchainGeneralStateTests": "npm run build:dist && node --stack-size=1500 ./tests/tester -b --dist --dir='GeneralStateTests'",
"testBlockchainBlockGasLimit": "npm run build:dist && node --stack-size=1500 ./tests/tester -b --dist --dir='bcBlockGasLimitTest'",
"testBlockchainValid": "npm run build:dist && node --stack-size=1500 ./tests/tester -b --dist --dir='bcValidBlockTest'",
"testBlockchainTotalDifficulty": "npm run build:dist && node --stack-size=1500 ./tests/tester -b --dist --dir='bcTotalDifficultyTest'",
"testAPI": "tape ./tests/api/*.js",
"test": "node ./tests/tester -a",
"lint": "standard",
Expand Down

0 comments on commit 906eb6c

Please sign in to comment.