Skip to content

Commit

Permalink
Update submodules after checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
Pikachu920 committed Jan 14, 2025
1 parent ebe7bf9 commit 8061da6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class EnvironmentResource(TypedDict):
os.chdir(skript_repo_path)
if skript_repo_ref is not None and not skript_repo_ref.isspace():
subprocess.run(("git", "checkout", "-f", skript_repo_ref))
subprocess.run(("git", "submodule", "update", "--recursive"))
if not run_vanilla_tests:
print("Deleting vanilla tests")
delete_contents_of_directory(skript_test_directory)
Expand Down

0 comments on commit 8061da6

Please sign in to comment.