Commit a693391e authored by Thomas Dowrick's avatar Thomas Dowrick
Browse files

.

parent 1334f89a
Pipeline #1448 failed with stage
in 3 minutes and 56 seconds
......@@ -7,7 +7,8 @@ from sksurgeryvtk.models.vtk_surface_model_directory_loader \
# GUI tests causing error on Linux CI-machine.
in_gitlab_ci = str(os.environ.get('GITLAB_CI'))
if sys.platform == "linux" and in_gitlab_ci == 'true':
print(in_gitlab_ci)
if sys.platform == "linux" and in_gitlab_ci == "true":
pytest.skip("skipping GUI tests on linux CI", allow_module_level=True)
@pytest.fixture()
......
......@@ -8,7 +8,8 @@ from sksurgeryutils.common_overlay_apps import OverlayOnVideoFeed
# GUI tests causing error on Linux CI-machine.
in_gitlab_ci = str(os.environ.get('GITLAB_CI'))
if sys.platform == "linux" and in_gitlab_ci == 'true':
print(in_gitlab_ci)
if sys.platform == "linux" and in_gitlab_ci == "true":
pytest.skip("skipping GUI tests on linux CI", allow_module_level=True)
@pytest.fixture(scope="module")
......
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