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

Don't run tests on linux, if running in gitlab-ci

parent a64427ea
......@@ -4,6 +4,10 @@ from sksurgeryardavinci.widgets import Viewers
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':
pytest.skip("skipping GUI tests on linux CI", allow_module_level=True)
@pytest.fixture(scope="module")
def video_file_source():
""" Provide video file for subsequent tests"""
......
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