Skip to content

Commit

Permalink
checking if the labels are set
Browse files Browse the repository at this point in the history
  • Loading branch information
bacciotti committed Oct 30, 2024
1 parent 6f929ff commit 2e53bfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/bin/deploy-iqe-cji.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ def run(self) -> None:
print("PR labeled to skip smoke tests")
return

if "smokes-required" not in self.pr_labels and not any(label.endswith("-smoke-tests") for label in self.pr_labels):
sys.exit("Missing smoke tests labels.")

self.run_pod()

try:
Expand Down

0 comments on commit 2e53bfa

Please sign in to comment.