-
Notifications
You must be signed in to change notification settings - Fork 619
test: only include packages updates since master #336
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
Conversation
While running tests, only include packages that have been updated since master Doc: https://github.com/lerna/lerna/tree/master/core/filter-options#--since-ref Fixes: aws#335
Travis CI build succeeds after adding |
I ran commits in this PR on top of #317 and noticed that it's running pretest on all packages and not the ones changed since master (yarn-test-ci.log vs yarn-test.log) Expected behavior: Run tests only on node-http-handler |
For code in PR #317, I ran the following commands:
|
For code in PR #333, I ran the following commands:
|
Confirmed that pretest runs on all dependencies of the edited packages. |
Lack of --include-filtered-dependents might break lerna publish which is undesirable
Reintroduced
|
Findings while going through lerna codebase:
|
ToDo: verify CI runs in:
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Issue #, if available:
Fixes: #335
Description of changes:
While running tests, only include packages that have been updated since master
Doc: https://github.com/lerna/lerna/tree/master/core/filter-options#--since-ref
If there are no changes, it takes less than 1 min to run
yarn test
(yarn-test.log)By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.