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

Inline test suite dependencies #8151

Closed
wants to merge 2 commits into from
Closed

Conversation

mourner
Copy link
Member

@mourner mourner commented Apr 15, 2019

Having integration tests dependencies in their own package.json file and then fetching them through file: dependency in the root package.json causes Yarn to cache a new copy of the suite (136MB) every time Yarn is run, wasting a ton of drive space.

Previously, we did it this way so that mapbox-gl-native could avoid installing any other dependencies besides the test suite ones, but that was at the time it used mapbox-gl as a dev dependency — since then, we've switched to using it as a submodule, and it seems like we install all deps anyway. I was wrong about that. Let's see if we can find an alternative...

A small additional benefit is that it will be easier to keep the deps up to date and not have different version duplicates between the main repo and the suite.

@mourner mourner requested a review from kkaefer April 15, 2019 10:42
@mourner mourner removed the request for review from kkaefer April 15, 2019 14:14
@mourner mourner closed this Apr 15, 2019
@mourner mourner deleted the inline-test-suite-deps branch August 6, 2020 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant