-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Smarter Travis Builds #6208
Comments
Closed? Why? I liked this idea... |
I was just closing all of my stuff that I wasn't immediately working on. Perhaps I got too aggressive... |
Maybe I can find someone at the SeConf Workshop tomorrow to do this one... |
Hi, Based on the Line 85 in 511d3cd
I've added checks for file changes for test jobs as proposed in the description. So far I've only tested it locally by running commands like below for
I was not sure if tests for Do you think it covers all test commands run on CI? I'm no so sure at this moment. |
A PR on Travis was auto-canceled when someone committed to Master, which makes it hard to know that the PR didn't break anything. I thought we used to have it so that tests were only run when changes from a particular folder.
It shouldn't be too difficult (though perhaps time consuming to make sure it works correctly) to add a conditional using something like
git diff --name-only HEAD~1
to check for what has changed to these tasks based on folder (python tests when changes in /py/, ruby tests when changes in /rb/, etc)If we minimize what gets run, that should keep us from having to auto-cancel PR builds.
The text was updated successfully, but these errors were encountered: