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

🏗 During PR checks, first run the tests changed by the PR (if any) #15461

Merged
merged 1 commit into from May 21, 2018
Merged

🏗 During PR checks, first run the tests changed by the PR (if any) #15461

merged 1 commit into from May 21, 2018

Conversation

rsimha
Copy link
Contributor

@rsimha rsimha commented May 21, 2018

During PR checks, we run about 8000 unit tests. This typically leads to a long wait to see results from the unit tests that were added / modified by the PR.

In this PR, we add a call to gulp test --local-changes before the call to gulp test --unit, so that we can fail early if a bad unit test is checked in. Note that gulp test --local-changes will fail (instead of just warning) if the unit tests contain unhandled console.errors, and provide early feedback that they must be fixed.

Coming up: Add this to a pre-push hook so that developers don't need to wait for Travis builds.

Partial fix for #15369

@rsimha
Copy link
Contributor Author

rsimha commented May 21, 2018

/to @choumx @kristoferbaxter

@rsimha
Copy link
Contributor Author

rsimha commented May 21, 2018

/to @danielrozenberg

Copy link
Member

@danielrozenberg danielrozenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

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.

None yet

3 participants