File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on :
4+ push :
5+ branches : ['master']
6+ pull_request :
7+ workflow_dispatch :
8+
9+ jobs :
10+ test :
11+ runs-on : ${{ matrix.os }}
12+ timeout-minutes : 30
13+ strategy :
14+ matrix :
15+ python-version : ['3.10']
16+ os : ['ubuntu-latest']
17+ omc-version : ['stable']
18+
19+ steps :
20+ - uses : actions/checkout@v4
21+ - name : " Set up OpenModelica Compiler"
22+ uses : AnHeuermann/setup-openmodelica@v0.6
23+ with :
24+ version : ${{ matrix.omc-version }}
25+ packages : |
26+ omc
27+
28+ - run : " omc --version"
29+
30+ - uses : actions/checkout@v4
31+ - name : Set up Python ${{ matrix.python-version }}
32+ uses : actions/setup-python@v4
33+ with :
34+ python-version : ${{ matrix.python-version }}
35+ architecture : ' x64'
36+
37+ - name : Install dependencies
38+ run : |
39+ python -m pip install --upgrade pip
40+ pip install future pyparsing numpy psutil pyzmq
41+
42+ - name : Test OMPython
43+ run : |
44+ python -m unittest tests/test_ModelicaSystem.py
45+ python -m unittest tests/test_OMParser.py
46+ python -m unittest tests/test_ZMQ.py
You can’t perform that action at this time.
0 commit comments