Always run the full test suite if the GitHub event is not pull_request

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-02-06 07:34:20 +00:00 committed by Pedro Algarvio
parent dea4aa62b9
commit 8a8ac0683b

View file

@ -360,7 +360,7 @@ def define_testrun(ctx: Context, event_name: str, changed_files: pathlib.Path):
if TYPE_CHECKING:
assert github_step_summary is not None
if event_name in ("push", "schedule"):
if event_name != "pull_request":
# In this case, a full test run is in order
ctx.info("Writing 'testrun' to the github outputs file")
testrun = {"type": "full"}