We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ec9136 commit 83bb77aCopy full SHA for 83bb77a
test/integration/conftest.py
@@ -92,6 +92,20 @@ def instance_type(request, processor):
92
return provided_instance_type if provided_instance_type is not None else default_instance_type
93
94
95
+@pytest.fixture()
96
+def py_version():
97
+ if 'TEST_PY_VERSIONS' in os.environ:
98
+ return os.environ['TEST_PY_VERSIONS'].split(',')
99
+ return None
100
+
101
102
103
+def processor():
104
+ if 'TEST_PROCESSORS' in os.environ:
105
+ return os.environ['TEST_PROCESSORS'].split(',')
106
107
108
109
@pytest.fixture(autouse=True)
110
def skip_by_device_type(request, processor):
111
is_gpu = (processor == 'gpu')
0 commit comments