We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b9327f commit f64a143Copy full SHA for f64a143
.github/workflows/Test.yml
@@ -49,6 +49,7 @@ jobs:
49
- run: "omc --version"
50
51
- name: Pull OpenModelica docker image
52
+ if: runner.os != 'Windows'
53
run: docker pull openmodelica/openmodelica:v1.25.0-minimal
54
55
- name: Run pytest
tests/test_docker.py
@@ -1,6 +1,13 @@
1
+import sys
2
+import pytest
3
import OMPython
4
5
+skip_on_windows = pytest.mark.skipif(
6
+ sys.platform.startswith("win"),
7
+ reason="OpenModelica Docker image is Linux-only; skipping on Windows.",
8
+)
9
10
+@skip_on_windows
11
def test_docker():
12
omcp = OMPython.OMCProcessDocker(docker="openmodelica/openmodelica:v1.25.0-minimal")
13
om = OMPython.OMCSessionZMQ(omc_process=omcp)
0 commit comments