@@ -54,11 +54,6 @@ def pytest_addoption(parser):
5454 help = "disable testing functions with output shapes dependent on input" ,
5555 )
5656 # CI
57- parser .addoption (
58- "--ci" ,
59- action = "store_true" ,
60- help = "run just the tests appropriate for CI" ,
61- )
6257 parser .addoption (
6358 "--skips-file" ,
6459 action = "store" ,
@@ -78,7 +73,6 @@ def pytest_configure(config):
7873 config .addinivalue_line (
7974 "markers" , "data_dependent_shapes: output shapes are dependent on inputs"
8075 )
81- config .addinivalue_line ("markers" , "ci: primary test" )
8276 config .addinivalue_line (
8377 "markers" ,
8478 "min_version(api_version): run when greater or equal to api_version" ,
@@ -144,7 +138,6 @@ def pytest_collection_modifyitems(config, items):
144138
145139 disabled_exts = config .getoption ("--disable-extension" )
146140 disabled_dds = config .getoption ("--disable-data-dependent-shapes" )
147- ci = config .getoption ("--ci" )
148141
149142 for item in items :
150143 markers = list (item .iter_markers ())
@@ -178,11 +171,6 @@ def pytest_collection_modifyitems(config, items):
178171 mark .skip (reason = "disabled via --disable-data-dependent-shapes" )
179172 )
180173 break
181- # skip if test not appropriate for CI
182- if ci :
183- ci_mark = next ((m for m in markers if m .name == "ci" ), None )
184- if ci_mark is None :
185- item .add_marker (mark .skip (reason = "disabled via --ci" ))
186174 # skip if test is for greater api_version
187175 ver_mark = next ((m for m in markers if m .name == "min_version" ), None )
188176 if ver_mark is not None :
0 commit comments