Skip to content

Commit a70bbdd

Browse files
committed
Use OMCProcessDocker
- Also remove juliacall in non-BaseModelica.jl CI
1 parent c6c28a0 commit a70bbdd

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
- name: Install Python dependencies
5454
shell: bash
5555
run: |
56+
sed -i '/^juliacall/d' requirements.txt # Remove juliacall to check if it works without
5657
pip install -r requirements.txt
5758
5859
- name: Run library test

test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def target():
260260
print("Error: Expected at least one configuration file to start the library test")
261261
sys.exit(1)
262262

263-
from OMPython import OMCSession, OMCSessionZMQ
263+
from OMPython import OMCSessionZMQ, OMCProcessDocker
264264

265265
# Try to make the processes a bit nicer...
266266
os.environ["GC_MARKERS"]="1"
@@ -276,7 +276,7 @@ def target():
276276
ompython_omc_version=omc.sendExpression('getVersion()')
277277
os.environ["OPENMODELICAHOME"] = omhome
278278
else:
279-
omc = OMCSessionZMQ(docker=docker, dockerExtraArgs=dockerExtraArgs)
279+
omc = OMCProcessDocker(docker=docker, dockerExtraArgs=dockerExtraArgs)
280280
omhome=omc.sendExpression('getInstallationDirectoryPath()')
281281
omc_version=omc.sendExpression('getVersion()')
282282
ompython_omc_version=omc_version

0 commit comments

Comments
 (0)