You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Better control when to run tests with Heroku CI #352
After you enable Heroku CI for a pipeline, it runs tests automatically for every subsequent push to your GitHub repository. This means that all GitHub pull requests are automatically tested, along with any merges to master.
This is, in some cases, excellent and desired behaviour. But it is not the best solution for bigger projects that have multiple work-in-progress branches. Running tests on every push to the repository means that tests run when we publish a branch or push a commit to the work-in-progress branch.
Heroku CI would be a great solution for running tests if it worked similarly to Heroku Review Apps, not on every push to the repository, but on every push to the branch that has a pull request opened.
Example:
Good example: test run for branch fb/heroku_ci, commit: f618363. The said branch has a pull request opened, and there is a link to it.
Bad example: test run for branch heroku_support_example, commit: ff3263b. The said branch doesn't have a pull request opened, and I don't see a reason for tests to run for it.
Activity