-
Notifications
You must be signed in to change notification settings - Fork 43
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
chore: run jest script in jest dir #1245
Conversation
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.
When having a look at why you removed npm run compile:seedutil
, I noticed that we aren't running the seedutil tests at all on Travis (they are not included in npm run test
and npm run test:sim
). Is this intentional?
Yeah it's intentional, I figured that the seedutil code is separate and mostly static such that we don't gain much from compiling and running it every build. Paricularly with the pending Raiden changes which makes the build take much longer. |
@sangaman I wouldn't feel to comfortable not running some tests at all in the CI. What about using a build matrix similar to what LND is doing? This would allow that the seedutil is compiled and tested in parallel to the normal CI script? (If we agree on setting it up it doesn't have to be implemented in this PR though) |
Hmm ok I will put it back in for now, I think longer term it's worth changing though. I'll look into a build matrix or another approach to split it off from our main suite of tests. |
3c9c484
to
110fe48
Compare
40a94b4
to
cb1c1c7
Compare
This prevents the jest script from running any nested versions of xud such as those that may be installed in the simulation test temp dir. It also separates the seedutil tests from running with the rest of the jest tests.
cb1c1c7
to
1179fbc
Compare
This prevents the jest script from running any nested versions of xud such as those that may be installed in the simulation test temp dir.
It also separates the seedutil tests from running with the rest of the jest tests
and removes its dependencies from the travis config.