Travis tests do not yet account for autosubmission PRs that have fallen out of date with the main/master branch. When the target branch (main) is ahead of the incoming submission branch, the changed files in main are counted as part of "parse_plugin_changes", and consequently "plugin_only" is ruled False which triggers a full test run. This is causing a timeout in the Travis tests.
This PR is a minimal solution that changes the git diff to compare to where the submission branched off of main, thereby only considering the changes directly from the submission. This removes the effect on "plugin_only" rulings and allows plugins to resume testing without running the full repo-wide suite.
Goes with vision PR #664.
Travis tests do not yet account for autosubmission PRs that have fallen out of date with the
main
/master
branch. When the target branch (main
) is ahead of the incoming submission branch, the changed files inmain
are counted as part of "parse_plugin_changes", and consequently "plugin_only" is ruledFalse
which triggers a full test run. This is causing a timeout in the Travis tests.This PR is a minimal solution that changes the git diff to compare to where the submission branched off of
main
, thereby only considering the changes directly from the submission. This removes the effect on "plugin_only" rulings and allows plugins to resume testing without running the full repo-wide suite.