Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dfederschmidt committed Oct 2, 2024
1 parent 8441328 commit 13b8fb6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
22 changes: 11 additions & 11 deletions .github/tests/run_on_changed_playbooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,17 @@ def run_robot_tests(robot_file: str, playbook: str):
print("Tests failed.")


def main(args):

# Get changed files compared to the provided base branch
changed_files = get_changed_files_without_extension(args.base_branch)

# Output the files without extensions
for playbook in changed_files:
run_robot_tests(args.robot_path, playbook)

def main():

if __name__ == "__main__":
# Create the argument parser
parser = argparse.ArgumentParser(description="Get changed JSON or Python files in the root directory without extensions compared to a base branch")

Expand All @@ -53,14 +62,5 @@ def main():

# Parse the arguments
args = parser.parse_args()

# Get changed files compared to the provided base branch
changed_files = get_changed_files_without_extension(args.base_branch)

# Output the files without extensions
for playbook in changed_files:
run_robot_tests(args.robot_path, playbook)


if __name__ == "__main__":
main()
run_robot_tests(args.robot_path, "Active_Directory_Disable_Account_Dispatch")

0 comments on commit 13b8fb6

Please sign in to comment.