Commit 02a2293d authored by Thomas Dowrick's avatar Thomas Dowrick
Browse files

.

parent 819f08ba
Pipeline #1451 failed with stage
in 2 minutes and 37 seconds
......@@ -8,7 +8,7 @@ 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'))
print("Gitlab_CI: " + in_gitlab_ci)
if sys.platform == "linux" and not in_gitlab_ci:
if sys.platform == "linux" and in_gitlab_ci:
pytest.skip("skipping GUI tests on linux CI", allow_module_level=True)
@pytest.fixture()
......
......@@ -9,7 +9,7 @@ from sksurgeryutils.common_overlay_apps import OverlayOnVideoFeed
# GUI tests causing error on Linux CI-machine.
in_gitlab_ci = str(os.environ.get('GITLAB_CI'))
print("Gitlab_CI" + in_gitlab_ci)
if sys.platform == "linux" and not in_gitlab_ci:
if sys.platform == "linux" and in_gitlab_ci:
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