Commit a7aca6ba authored by René Fritze's avatar René Fritze Committed by René Fritze

[ci|pytest] remove unused test splitting plugin

parent 113d43d7
......@@ -55,23 +55,3 @@ class ExecutionTimeCSV:
def pytest_configure(config):
config.pluginmanager.register(ExecutionTimeCSV(), 'ExecutionTimeCSV')
def pytest_report_header(config):
split = os.environ.get('PYMOR_TEST_HALF', None)
if split is None:
return None
return "Test suite splitting in effect"
def pytest_collection_modifyitems(config, items):
split = os.environ.get('PYMOR_TEST_HALF', None)
if split is None:
return
skip = pytest.mark.skip(reason="Suite splitting in effect")
testcount = len(items)
if split == 'TOP':
for item in items[:testcount//2]:
item.add_marker(skip)
else:
for item in items[testcount//2:]:
item.add_marker(skip)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment