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

Change test:all to clean up each example after running it #145

Merged

Conversation

tudorpavel
Copy link
Contributor

@tudorpavel tudorpavel commented Oct 17, 2019

Issue: #91

I ran out of space on disk when first running the exhaustive tests. 😅 I think it uses > 10GB of space for all the dependencies of all the examples.

This PR improves the exhaustive tests to clean up each example after running it. My editor also cleaned up some whitespace (I recommend hiding whitespaces changes on the diff).

Regarding the old removeTemporaryTestFiles approach of removing the entire temp folder at the beginning of the exhaustive test suite, I was worried about removing it since it might cause issues for users who have run the exhaustive test suite already and will have the example folders already there. But on second thought and after some sanity checks, it shouldn't be an issue since the worst thing that could happen is that yarn install is run and the dependencies are already there.

Also, while working on this, I noticed some examples are not passing. I will try to fix them in a separate PR.

@GantMan GantMan merged commit 34e5d8c into GantMan:master Oct 19, 2019
@GantMan
Copy link
Owner

GantMan commented Oct 19, 2019

awesome!

@tudorpavel tudorpavel deleted the exhaustive-tests-cleanup-as-you-go branch October 19, 2019 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants