File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,6 +185,8 @@ jobs:
185185 os : ubuntu-latest
186186 - name : macOS
187187 os : macos-latest
188+ - name : Windows
189+ os : windows-latest
188190 env :
189191 DO_DOCKER : 0
190192 steps :
@@ -199,7 +201,22 @@ jobs:
199201 with :
200202 python-version : " 3.12"
201203 cache : " pip"
202- cache-dependency-path : open-codegen/setup.py
204+ cache-dependency-path : open-codegen/pyproject.toml
203205
204206 - name : Run OCP Python tests
207+ if : runner.os != 'Windows'
205208 run : bash ./ci/script.sh ocp-tests
209+
210+ - name : Install Python package
211+ if : runner.os == 'Windows'
212+ working-directory : open-codegen
213+ run : |
214+ python -m pip install --upgrade pip
215+ python -m pip install .
216+
217+ - name : Run OCP Python tests
218+ if : runner.os == 'Windows'
219+ working-directory : open-codegen
220+ env :
221+ PYTHONPATH : .
222+ run : python -W ignore test/test_ocp.py -v
You can’t perform that action at this time.
0 commit comments