-
Notifications
You must be signed in to change notification settings - Fork 783
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ci/vm-tests-on-demand
- Loading branch information
Showing
26 changed files
with
418 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# | ||
# This special file aims to run node tests for each relevant node version. | ||
# A relevant node version can be: active, current, maintenance or EOL with some months of tolerance | ||
# For more details, please check ./scripts/node-versions.js | ||
# | ||
|
||
name: Node versions | ||
on: | ||
schedule: | ||
- cron: 0 0 * * * | ||
|
||
jobs: | ||
get-node-versions: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
matrix: ${{ steps.set-matrix.outputs.matrix }} | ||
steps: | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- id: set-matrix | ||
run: echo "::set-output name=matrix::$(npx testable-node-versions)" | ||
|
||
tests: | ||
needs: get-node-versions | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: ${{ fromJson(needs.get-node-versions.outputs.matrix) }} | ||
steps: | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- run: npm install | ||
- run: npm run build | ||
|
||
- name: Test Block | ||
run: npm run test | ||
working-directory: packages/block | ||
|
||
- name: Test Blockchain | ||
run: npm run test | ||
working-directory: packages/blockchain | ||
|
||
- name: Test Common | ||
run: npm run test | ||
working-directory: packages/common | ||
|
||
- name: Test Ethash | ||
run: npm run test | ||
working-directory: packages/ethash | ||
|
||
- name: Test Tx | ||
run: npm run test | ||
working-directory: packages/tx | ||
|
||
- name: Test VM | ||
run: npm run test:API | ||
working-directory: packages/vm | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "ethereum-tests"] | ||
path = ethereum-tests | ||
url = https://github.com/ethereum/tests.git | ||
branch = develop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ethereum-tests
added at
bfcd07
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.