-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Make sz test
more performant.
#340
Conversation
Visit the preview URL for this PR (updated for commit ea6926a): https://sharezone-test--pr340-test-command-better-qwtvn7zk.web.app (expires Fri, 03 Feb 2023 18:02:03 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 4cb3ae61e1e018abfd9841fd3239f5b49ccc034b |
First test run (only
|
Second test run (only
|
Third test run (only
|
I refactored the code for the `sz analyze` command so that the logic for concurrently running a task for all packages can be used for the test command as well (#340).
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.
LGTM
} | ||
} | ||
} |
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.
} | |
} | |
Nit: Add newline at end of file.
Isn't VS Code adding a newline at the of file when you are pressing auto-format?
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.
No locally it adds a new line at the end when I save and the file is auto-formatted.
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.
For me locally there is a new line at the end - maybe it has something to do with git?
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.
I added a new line via GitHub but now there are two for me locally 🤔
Tests are now run concurrently for the different packages, instead of only one at a time.
Time to run tests in GitHub CI:
Old time: 18min 36s
New time: 8-11 min