Commit 0116b66a authored by Thomas Dowrick's avatar Thomas Dowrick
Browse files

.

parent a693391e
Pipeline #1449 failed with stage
in 8 minutes and 37 seconds
......@@ -7,8 +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'))
print(in_gitlab_ci)
if sys.platform == "linux" and in_gitlab_ci == "true":
print("Gitlab_CI: " + in_gitlab_ci)
if sys.platform == "linux" and not in_gitlab_ci:
pytest.skip("skipping GUI tests on linux CI", allow_module_level=True)
@pytest.fixture()
......
......@@ -8,8 +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'))
print(in_gitlab_ci)
if sys.platform == "linux" and in_gitlab_ci == "true":
print("Gitlab_CI" + in_gitlab_ci)
if sys.platform == "linux" and not 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