Commit 81ac6ee8 authored by Thomas Dowrick's avatar Thomas Dowrick
Browse files

Only check for Linux OS, not gitlab-ci

parent eac6fdd9
Pipeline #1437 canceled with stage
in 1 minute and 14 seconds
......@@ -6,7 +6,7 @@ from sksurgeryvtk.models.vtk_surface_model_directory_loader \
import VTKSurfaceModelDirectoryLoader
# GUI tests causing error on Linux CI-machine.
if os.environ.get('GITLAB_CI') and sys.platform == "linux":
if sys.platform == "linux":
pytest.skip("skipping GUI tests on linux CI", allow_module_level=True)
@pytest.fixture()
......
......@@ -7,7 +7,7 @@ from sksurgeryutils.common_overlay_apps import OverlayOnVideoFeed
# pyint:disable=line-too-long
# GUI tests causing error on Linux CI-machine.
if os.environ.get('GITLAB_CI')=='True' and sys.platform == "linux":
if ys.platform == "linux":
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