-
Notifications
You must be signed in to change notification settings - Fork 5k
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 eth2 github action #3892
Add eth2 github action #3892
Conversation
Pull Request Test Coverage Report for Build 521583702Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
@@ -10,18 +10,27 @@ | |||
"types": "types.ts", | |||
"scripts": { | |||
"test": "jest", | |||
"tsc": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline" | |||
"tsc": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be renamed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like it to be, but some of our CI scripts use lerna exec tsc
. Perhaps we can open a separate PR to update the scripts/npm commands to compile
instead of tsc
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah that makes sense!
@@ -135,7 +135,7 @@ it('getValidatorBalances', async () => { | |||
expect(response[0]).toMatchObject(expectedResponse) | |||
}) | |||
|
|||
it('getEpochCommittees', async () => { | |||
xit('getEpochCommittees', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry this got posted, but it was still pending
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related issue
@@ -135,7 +135,7 @@ it('getValidatorBalances', async () => { | |||
expect(response[0]).toMatchObject(expectedResponse) | |||
}) | |||
|
|||
it('getEpochCommittees', async () => { | |||
xit('getEpochCommittees', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Temp fix, getting a 400 because route is wrong, but I don't understand why I would've made the route what it is, if it wasn't supposed to be - need to further investigate and changes should probably be in a separate PR
This reverts commit 1a252a9.
Description
Adds Github action that runs tests for ETH2 packages:
web3-eth2-core
andweb3-eth2-beaconchain
Includes changes from #3890 so that ETH2 tests are passing
Type of change
Checklist:
npm run dtslint
with success and extended the tests and types if necessary.npm run test:unit
with success.npm run test:cov
and my test cases cover all the lines and branches of the added code.npm run build
and testeddist/web3.min.js
in a browser.CHANGELOG.md
file in the root folder.