@@ -36,10 +36,12 @@ jobs:
3636 rustflags : " "
3737
3838 - name : Cargo tests
39+ working-directory : rust
3940 run : cargo test
4041
4142 - name : Cargo tests (RP and JEM)
4243 if : runner.os != 'Windows'
44+ working-directory : rust
4345 run : |
4446 cargo test --features rp
4547 cargo test --features jem
7981 with :
8082 python-version : " 3.12"
8183 cache : " pip"
82- cache-dependency-path : open-codegen /pyproject.toml
84+ cache-dependency-path : python /pyproject.toml
8385
8486 - uses : egor-tensin/setup-clang@v1
8587 if : runner.os == 'Linux'
@@ -111,17 +113,17 @@ jobs:
111113
112114 - name : Install Python package
113115 if : runner.os == 'Windows'
114- working-directory : open-codegen
115116 run : |
117+ Set-Location python
116118 python -m pip install --upgrade pip
117119 python -m pip install .
118120
119121 - name : Run Python test.py
120122 if : runner.os == 'Windows'
121- working-directory : open-codegen
122- env :
123- PYTHONPATH : .
124- run : python -W ignore test/test.py -v
123+ run : |
124+ Set-Location python
125+ $env:PYTHONPATH = "."
126+ python -W ignore test/test.py -v
125127
126128 ros2_tests :
127129 name : ROS2 tests
@@ -201,22 +203,22 @@ jobs:
201203 with :
202204 python-version : " 3.12"
203205 cache : " pip"
204- cache-dependency-path : open-codegen /pyproject.toml
206+ cache-dependency-path : python /pyproject.toml
205207
206208 - name : Run OCP Python tests
207209 if : runner.os != 'Windows'
208210 run : bash ./ci/script.sh ocp-tests
209211
210212 - name : Install Python package
211213 if : runner.os == 'Windows'
212- working-directory : open-codegen
213214 run : |
215+ Set-Location python
214216 python -m pip install --upgrade pip
215217 python -m pip install .
216218
217219 - name : Run OCP Python tests
218220 if : runner.os == 'Windows'
219- working-directory : open-codegen
220- env :
221- PYTHONPATH : .
222- run : python -W ignore test/test_ocp.py -v
221+ run : |
222+ Set-Location python
223+ $env:PYTHONPATH = "."
224+ python -W ignore test/test_ocp.py -v
0 commit comments