feat(ci): always test before publish #843
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Skips re-run of CI runs when there is already a CI run completed. This is a continuation of work/discussion in https://phabricator.wikimedia.org/T378941 and #801:
There are several "don't merge" PRs which serve as baseline proofs of the skip logic here:
843-test-1: Skips CI run on docs only change
843-test-2: Runs CI on code change
843-test-3: Skip CI on no new code change
843-test-4: Runs CI on failing code change
843-test-5: Runs CI again on duplicate failing code change
NOTE: The
_gha_test_mainbranch has the "success" branch protection rule that we have onmain, but points to the new "success" that is now located in thebuild_and_testworkflow vs in_build_and_test. Before this branch would be merged we would want to change the rule formainto point to this new "success" check as it is setup for the_gha_test_mainbranch