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

ci: disabling most of the hardfork-specific tests #950

Merged
merged 2 commits into from
Nov 12, 2020
Merged
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
37 changes: 20 additions & 17 deletions .github/workflows/vm-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ jobs:
strategy:
matrix:
fork: [
'Berlin',
# 'Berlin',
'MuirGlacier',
'Istanbul',
'Petersburg',
'Constantinople',
'Byzantium',
'SpuriousDragon',
'TangerineWhistle',
'Homestead',
'Chainstart'
# 'Petersburg',
# 'Constantinople',
# 'Byzantium',
# 'SpuriousDragon',
# 'TangerineWhistle',
# 'Homestead',
# 'Chainstart'
]
fail-fast: false
steps:
Expand Down Expand Up @@ -93,17 +93,20 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
# Args to pass to the tester. Note that some have splitted the slow tests and only running those: these are only on forks where that is applicable (see PR #489 for numbers on these)
# Args to pass to the tester. Note that some have splitted the slow tests and only
# running those: these are only on forks where that is applicable (see PR #489 for numbers on these)

# Tests were splitted with --dir and --excludeDir to balance execution times below the 9min mark.
args: [
'--fork=Chainstart --expected-test-amount=4385',
'--fork=Homestead --expected-test-amount=6997',
'--fork=Petersburg --excludeDir=stTimeConsuming --expected-test-amount=17174',
'--fork=Petersburg --dir=GeneralStateTests/stTimeConsuming --expected-test-amount=15561',
'--fork=Constantinople --excludeDir=stTimeConsuming --expected-test-amount=17193',
'--fork=Constantinople --dir=GeneralStateTests/stTimeConsuming --expected-test-amount=15561',
'--fork=Istanbul --excludeDir=stTimeConsuming --expected-test-amount=19817',
# '--fork=Berlin --expected-test-amount=33',
'--fork=Istanbul --dir=GeneralStateTests/stTimeConsuming --expected-test-amount=15561',
'--fork=Berlin --expected-test-amount=33'
'--fork=Istanbul --excludeDir=stTimeConsuming --expected-test-amount=19817',
# '--fork=Constantinople --dir=GeneralStateTests/stTimeConsuming --expected-test-amount=15561',
# '--fork=Constantinople --excludeDir=stTimeConsuming --expected-test-amount=17193',
# '--fork=Petersburg --dir=GeneralStateTests/stTimeConsuming --expected-test-amount=15561',
# '--fork=Petersburg --excludeDir=stTimeConsuming --expected-test-amount=17174',
# '--fork=Homestead --expected-test-amount=6997',
# '--fork=Chainstart --expected-test-amount=4385'
]
fail-fast: false
steps:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build:ethash": "npm run build:tree -- --scope @ethereumjs/ethash",
"build:tx": "npm run build:tree -- --scope @ethereumjs/tx",
"build:vm": "npm run build:tree -- --scope @ethereumjs/vm",
"lint": "lerna run lint --stream --parallel",
"lint": "lerna run lint --stream --parallel -- --mode compact",
"lint:fix": "lerna run lint:fix --stream --parallel",
"test": "lerna exec npm run test --parallel",
"coverage": "lerna run coverage --stream",
Expand Down