Skip to content

Commit 1462f92

Browse files
committed
add condition to run everything if workflow files are changed
1 parent 9deae60 commit 1462f92

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/scripts/determine_testing_environment.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
sortingcomponents_changed = False
3232
generation_changed = False
3333
stream_extractors_changed = False
34+
github_actions_changed = False
3435

3536

3637
for changed_file in changed_files_in_the_pull_request_paths:
@@ -78,9 +79,12 @@
7879
sorters_internal_changed = True
7980
else:
8081
sorters_changed = True
82+
elif ".github" in changed_file.parts:
83+
if "workflows" in changed_file.parts:
84+
github_actions_changed = True
8185

8286

83-
run_everything = core_changed or pyproject_toml_changed or neobaseextractor_changed
87+
run_everything = core_changed or pyproject_toml_changed or neobaseextractor_changed or github_actions_changed
8488
run_generation_tests = run_everything or generation_changed
8589
run_extractor_tests = run_everything or extractors_changed or plexon2_changed
8690
run_preprocessing_tests = run_everything or preprocessing_changed

0 commit comments

Comments
 (0)