Skip to content

Commit 37cbe61

Browse files
committed
tests: skip test_python_plugings for docker tests
1 parent 376f85e commit 37cbe61

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_python_plugins.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
PinSpecification,
3838
SpecificationProperties,
3939
)
40+
import ansys.dpf.core.server_types
4041
import conftest
4142
from conftest import (
4243
SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_4_0,
@@ -54,6 +55,10 @@
5455
if platform.system() == "Linux":
5556
pytest.skip("Known failures for the Ubuntu-latest GitHub pipelines", allow_module_level=True)
5657

58+
running_docker = ansys.dpf.core.server_types.RUNNING_DOCKER.use_docker
59+
if running_docker:
60+
pytest.skip("Skip python plugins tests in docker", allow_module_level=True)
61+
5762
update_virtual_environment_for_custom_operators(restore_original=True)
5863
update_virtual_environment_for_custom_operators()
5964

0 commit comments

Comments
 (0)