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

Cache the examples and speed up test runs #2140

Merged
merged 15 commits into from
Mar 11, 2024
Merged

Conversation

timdorr
Copy link
Member

@timdorr timdorr commented Mar 10, 2024

Adding the RN examples ballooned our test runs to 10+ minutes, which seems like a lot of overkill. But we were doing zero caching, so we got dinged with a full, from-scatch build on each run. Big ick.

Turns out, we don't really need to build an entire app. What we're testing is if Metro will bundle our build output. So, I'll make an equivalent RTK PR to simplify that build step drastically.

Update: Just made reduxjs/redux-toolkit#4266 to speed things up on that end

Copy link

codesandbox-ci bot commented Mar 10, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@timdorr timdorr marked this pull request as ready for review March 10, 2024 23:25
@timdorr timdorr changed the title Cache the React Native builds Cache the examples and speed up test runs Mar 11, 2024
@timdorr timdorr merged commit 16dc0ed into master Mar 11, 2024
25 checks passed
@timdorr timdorr deleted the cache-react-native-🏎️ branch March 11, 2024 00:15
aryaemami59 pushed a commit to aryaemami59/react-redux that referenced this pull request Mar 21, 2024
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.

1 participant