()
| 80 | |
| 81 | |
| 82 | def collect_solution_file_paths() -> list[pathlib.Path]: |
| 83 | # Return only if there are any, otherwise default to all solutions |
| 84 | if ( |
| 85 | os.environ.get("CI") |
| 86 | and os.environ.get("GITHUB_EVENT_NAME") == "pull_request" |
| 87 | and (filepaths := added_solution_file_path()) |
| 88 | ): |
| 89 | return filepaths |
| 90 | return all_solution_file_paths() |
| 91 | |
| 92 | |
| 93 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected