tag:help.appveyor.com,2012-11-13:/discussions/questions/39716-run-test-before-merge-prAppVeyor: Discussion 2019-09-24T21:01:26Ztag:help.appveyor.com,2012-11-13:Comment/474631772019-07-23T14:40:39Z2019-07-23T14:40:39ZRun test before merge PR<div><p>If i understand correctly, you want to trigger a build from within a build, correct?<br>
If so, you could make an <a href="https://www.appveyor.com/docs/api/projects-builds/#start-build-of-branch-most-recent-commit">API call</a> from <code>on_success:</code> config section.</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/474631772019-07-23T14:58:36Z2019-07-23T14:58:39ZRun test before merge PR<div><p>That’s not really what I want to do, sorry for the lack of clarity.<br>
After starting a merge of a PR on GitHub, I want to abort the merge if the tests have failed.</p></div>Maxime Balltag:help.appveyor.com,2012-11-13:Comment/474631772019-07-25T15:42:08Z2019-07-25T15:42:08ZRun test before merge PR<div><p>After the first branch is merged you can go to the other branches "virtual merge" build and hit <code>RE-BUILD PR</code> button. This will expose any new test errors due to previous merge.</p></div>Owen McDonnell