@@ -1092,18 +1092,17 @@ def parse_commit_message(commit_message: str) -> dict[str, bool]:
10921092
10931093
10941094JOB_TO_TEST_FILE = {
1095- # "tests_torch": r"tests/models/.*/test_modeling_.*",
1096- # "tests_generate": r"tests/models/.*/test_modeling_.*",
1097- # "tests_tokenization": r"tests/(?:models/.*/test_tokenization.*|test_tokenization_mistral_common\.py)",
1098- # "tests_processors": r"tests/models/.*/test_(?!(?:modeling_|tokenization_)).*", # takes feature extractors, image processors, processors
1099- # "examples_torch": r"examples/pytorch/.*test_.*",
1100- # "tests_exotic_models": r"tests/models/.*(?=layoutlmv|nat|deta|udop|nougat).*",
1101- # "tests_custom_tokenizers": r"tests/models/.*/test_tokenization_(?=bert_japanese|openai|clip).*",
1102- # # "repo_utils": r"tests/[^models].*test.*", TODO later on we might want to do
1103- # "pipelines_torch": r"tests/models/.*/test_modeling_.*",
1104- # "tests_hub": r"tests/.*",
1105- # "tests_non_model": r"tests/[^/]*?/test_.*\.py",
1095+ "tests_torch" : r"tests/models/.*/test_modeling_.*" ,
1096+ "tests_generate" : r"tests/models/.*/test_modeling_.*" ,
1097+ "tests_tokenization" : r"tests/(?:models/.*/test_tokenization.*|test_tokenization_mistral_common\.py)" ,
1098+ "tests_processors" : r"tests/models/.*/test_(?!(?:modeling_|tokenization_)).*" , # takes feature extractors, image processors, processors
1099+ "examples_torch" : r"examples/pytorch/.*test_.*" ,
1100+ "tests_exotic_models" : r"tests/models/.*(?=layoutlmv|nat|deta|udop|nougat).*" ,
1101+ "tests_custom_tokenizers" : r"tests/models/.*/test_tokenization_(?=bert_japanese|openai|clip).*" ,
1102+ # "repo_utils": r"tests/[^models].*test.*", TODO later on we might want to do
11061103 "pipelines_torch" : r"tests/models/.*/test_modeling_.*" ,
1104+ "tests_hub" : r"tests/.*" ,
1105+ "tests_non_model" : r"tests/[^/]*?/test_.*\.py" ,
11071106}
11081107
11091108
0 commit comments