Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
WEISS
Software Repositories
SNAPPY
scikit-surgerydavinci
Commits
432cc778
Commit
432cc778
authored
Feb 14, 2019
by
Thomas Dowrick
Browse files
Fix comparisoin for GITLAB_CI var
parent
dfa107ac
Pipeline
#1440
failed with stage
in 2 minutes and 52 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
tests/test_UI.py
tests/test_UI.py
+1
-1
tests/test_Viewers.py
tests/test_Viewers.py
+1
-1
No files found.
tests/test_UI.py
View file @
432cc778
...
@@ -6,7 +6,7 @@ from sksurgeryvtk.models.vtk_surface_model_directory_loader \
...
@@ -6,7 +6,7 @@ from sksurgeryvtk.models.vtk_surface_model_directory_loader \
import
VTKSurfaceModelDirectoryLoader
import
VTKSurfaceModelDirectoryLoader
# GUI tests causing error on Linux CI-machine.
# GUI tests causing error on Linux CI-machine.
if
sys
.
platform
==
"linux"
:
if
os
.
environ
.
get
(
'GITLAB_CI'
)
==
'true'
and
sys
.
platform
==
"linux"
:
pytest
.
skip
(
"skipping GUI tests on linux CI"
,
allow_module_level
=
True
)
pytest
.
skip
(
"skipping GUI tests on linux CI"
,
allow_module_level
=
True
)
@
pytest
.
fixture
()
@
pytest
.
fixture
()
...
...
tests/test_Viewers.py
View file @
432cc778
...
@@ -7,7 +7,7 @@ from sksurgeryutils.common_overlay_apps import OverlayOnVideoFeed
...
@@ -7,7 +7,7 @@ from sksurgeryutils.common_overlay_apps import OverlayOnVideoFeed
# pyint:disable=line-too-long
# pyint:disable=line-too-long
# GUI tests causing error on Linux CI-machine.
# GUI tests causing error on Linux CI-machine.
if
sys
.
platform
==
"linux"
:
if
os
.
environ
.
get
(
'GITLAB_CI'
)
==
'true'
and
sys
.
platform
==
"linux"
:
pytest
.
skip
(
"skipping GUI tests on linux CI"
,
allow_module_level
=
True
)
pytest
.
skip
(
"skipping GUI tests on linux CI"
,
allow_module_level
=
True
)
@
pytest
.
fixture
(
scope
=
"module"
)
@
pytest
.
fixture
(
scope
=
"module"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment