File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ jobs:
1717 # test for:
1818 # * oldest supported version
1919 # * latest available Python version
20- python-version : ['3.10', '3.14' ]
20+ python-version : ['3.10']
2121 # * Linux using ubuntu-latest
2222 # * Windows using windows-latest
23- os : ['ubuntu-latest', ' windows-latest']
23+ os : ['windows-latest']
2424 # * OM stable - latest stable version
2525 # * OM nightly - latest nightly build
26- omc-version : ['stable', 'nightly' ]
26+ omc-version : ['stable']
2727
2828 steps :
2929 - uses : actions/checkout@v6
6767 - name : Check twine
6868 run : python -m twine check dist/*
6969
70+ - name : Disable Windows Error Reporting dialogs
71+ if : runner.os == 'Windows'
72+ run : |
73+ reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /v DontShowUI /t REG_DWORD /d 1 /f
74+ reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /v Disabled /t REG_DWORD /d 1 /f
75+
7076 - name : Run pytest
7177 uses : pavelzw/pytest-action@v2
7278 with :
Original file line number Diff line number Diff line change @@ -272,6 +272,7 @@ def definition(self) -> ModelExecutionData:
272272 match = re .match (pattern = r"^SET PATH=([^%]*)" , string = line , flags = re .IGNORECASE )
273273 if match :
274274 cmd_library_path = match .group (1 ).strip (';' ) # Remove any trailing semicolons
275+ logger .debug (f"ModelExecutionData::definition Set library path for model executable: { repr (cmd_library_path )} " )
275276 my_env = os .environ .copy ()
276277 my_env ["PATH" ] = cmd_library_path + os .pathsep + my_env ["PATH" ]
277278
Original file line number Diff line number Diff line change @@ -851,6 +851,7 @@ def run(self) -> int:
851851 """
852852
853853 my_env = os .environ .copy ()
854+ logger .debug (f"ModelExecutionData::run() - Set library path for model executable: { repr (self .cmd_library_path )} " )
854855 if isinstance (self .cmd_library_path , str ):
855856 my_env ["PATH" ] = self .cmd_library_path + os .pathsep + my_env ["PATH" ]
856857
You can’t perform that action at this time.
0 commit comments