-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Run frontend presubmit checks only if frontend code has changed #5885
Comments
@EvsChen are you still working on this? |
Yes, I'm working on this. At first I was waiting to see if anyone has any comments on this so it took some days. |
Oh, I didn't realize you were waiting for comments @EvsChen! I think it's fine to just go ahead with it (and, if possible, test empirically to see how much of a difference it makes). |
Sure, I'll just go ahead. |
Sounds good, thanks! |
6 tasks
apb7
pushed a commit
that referenced
this issue
Dec 23, 2018
* Only run front end test when front end file changed * Change comments according to review * Front end file change test * Revert "Front end file change test" This reverts commit c66e86b. * Compare against the local branch * Compare with the branch tip on github * Front end file change test * Revert "Front end file change test" This reverts commit e226e40. * Front end file change test * Revert "Front end file change test" This reverts commit d0f8c78. * Change words
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Now the local presubmit checks take a long time. It can be made faster by eliminating unnecessary checks.
Describe the solution you'd like
In the file
scripts/run_presubmit_checks.sh
, usegrep
to check whether thegit show HEAD --name-only
contains the front end directory. If true, run the front end test. Else just skip.Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: