25
25
- name : Archive Modelica Binaries
26
26
uses : actions/upload-artifact@v4
27
27
with :
28
- name : om-binaries-${{ github.run_id }}
28
+ name : om-binaries-${{ github.run_id }}-${{ matrix.python-version }}
29
29
path : build/
30
30
retention-days : 1
31
31
test_module_build :
47
47
- name : Archive Plasma Profiles
48
48
uses : actions/upload-artifact@v4
49
49
with :
50
- name : om-plasma-profiles-${{ github.run_id }}
50
+ name : om-plasma-profiles-${{ github.run_id }}-${{ matrix.python-version }}
51
51
path : power_balance/profiles/mat_profile_files/*.mat
52
52
retention-days : 1
53
53
model_run_om :
@@ -64,12 +64,12 @@ jobs:
64
64
- name : Retrieve Open Modelica model binaries
65
65
uses : actions/download-artifact@v4
66
66
with :
67
- name : om-binaries-${{ github.run_id }}
67
+ name : om-binaries-${{ github.run_id }}-${{ matrix.python-version }}
68
68
path : build
69
69
- name : Retrieve Plasma profiles
70
70
uses : actions/download-artifact@v4
71
71
with :
72
- name : om-plasma-profiles-${{ github.run_id }}
72
+ name : om-plasma-profiles-${{ github.run_id }}-${{ matrix.python-version }}
73
73
path : power_balance/profiles/mat_profile_files
74
74
- name : Run Models
75
75
run : |
@@ -131,7 +131,7 @@ jobs:
131
131
retention-days : 1
132
132
unit_tests :
133
133
container :
134
- image : openmodelica/openmodelica:v1.21 .0-ompython
134
+ image : openmodelica/openmodelica:v1.25 .0-ompython
135
135
name : Unit Tests (${{ matrix.os }} Python${{ matrix.python-version }})
136
136
runs-on : ${{ matrix.os }}
137
137
strategy :
@@ -150,7 +150,7 @@ jobs:
150
150
uv run -p ${{ matrix.python-version }} coverage run --data-file=coverage_unit --source=power_balance -m pytest tests/unit_tests
151
151
- name : Archive Run Coverage
152
152
uses : actions/upload-artifact@v4
153
- if : ${{ github.ref_name == 'main' }}
153
+ if : ${{ github.ref_name == 'main' && matrix.python-version == '3.13' }}
154
154
with :
155
155
name : coverage-unit
156
156
path : coverage_unit
0 commit comments