Skip to content

Commit

Permalink
fix test_actions_ci_fail_wrong_trigger test
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Jan 29, 2025
1 parent c81b818 commit 09b9e2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pipelines/lint/test_actions_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 09b9e2a

Please sign in to comment.