-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Run all tests in CI #336
Run all tests in CI #336
Conversation
Log was complaining about it not being up to date, it's reasonable to assume circleci executes all commands from project root (I was wondering before how the consequent commands would work if the `cd` effect stuck, this explains it)
239 examples, 9 failures, 12 pending vs 227 examples, 0 failures, 12 pending definitely executes more tests 💃 |
And we fail to install
It might be some combination of node-sass not being compatible with the node version 12 in the image I'll give updating it a try: sass/node-sass#2648 |
Just yarn upgrade node-sass didn't work so let's just get all the new stuff - what could possibly go wrong, hey?
And now lots of tests fail. The one in
|
`inject_into_file` only works when a file is actually present, the README seems to be generated nowhere so it seems to assume that it is manually created - hence manually created it in the dummy app to make the test run pass. Probably not the _best_ solution as the generator seems to mainly be used in the core repo itself for which the dummy app doesn't qualify. Hence working with a different example app/folder might be the preferred solution.
@@ -0,0 +1,8 @@ | |||
# Core Components | |||
|
|||
This file exists here currently just so that the tests for `Matestack::Core::Generators::ComponentGenerator` can run as they expect such a file to exist. |
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.
@jonasjabari this is a ... very pragmatic solution but potentially not the best one. Please check the commit message :)
Super class failures + 1 other remain. I have an idea about the super class failures, not entirely sure how to best fix it though - probably a more pragmatic fix than the right fix(tm) if it is what I believe it is (reopening classes all the time). Curios that it doesn't happen locally. |
Well, that didn't work :( |
Okay, so the problem is many fold:
So it's more involved to solve this with different degrees of involvement:
Naturally there will be other solutions that I don't come up with yet :) I'm also not sure why this doesn't happen locally, my easiest guess is that it's related to the parallel test running in CircleCI so deactivating that might also be an option while not ideal. |
Issue #332: CI allegedly isn't running all spec files
Changes
Notes