From 09b9e2add67b241fd8d58e481dae573cbaa3ccb3 Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Wed, 29 Jan 2025 11:07:01 +0100 Subject: [PATCH] fix test_actions_ci_fail_wrong_trigger test --- tests/pipelines/lint/test_actions_ci.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pipelines/lint/test_actions_ci.py b/tests/pipelines/lint/test_actions_ci.py index 7319ce4b0c..4484ac74d9 100644 --- a/tests/pipelines/lint/test_actions_ci.py +++ b/tests/pipelines/lint/test_actions_ci.py @@ -34,7 +34,7 @@ def test_actions_ci_fail_wrong_trigger(self): new_pipeline = self._make_pipeline_copy() with open(Path(new_pipeline, ".github", "workflows", "ci.yml")) as fh: ci_yml = yaml.safe_load(fh) - ci_yml[True]["push"] = ["dev", "patch"] + ci_yml[True].pop("pull_request") ci_yml["jobs"]["test"]["strategy"]["matrix"] = {"nxf_versionnn": ["foo", ""]} with open(Path(new_pipeline, ".github", "workflows", "ci.yml"), "w") as fh: yaml.dump(ci_yml, fh)