File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 2525 os : ubuntu-latest
2626 - name : macOS
2727 os : macos-latest
28+ - name : Windows
29+ os : windows-latest
2830 steps :
2931 - uses : actions/checkout@v5
3032
3739 run : cargo test
3840
3941 - name : Cargo tests (RP and JEM)
42+ if : runner.os != 'Windows'
4043 run : |
4144 cargo test --features rp
4245 cargo test --features jem
5760 - name : macOS
5861 os : macos-latest
5962 skip_rpi_test : 1
63+ - name : Windows
64+ os : windows-latest
65+ skip_rpi_test : 1
6066 env :
6167 DO_DOCKER : 0
6268 SKIP_RPI_TEST : ${{ matrix.skip_rpi_test }}
7379 with :
7480 python-version : " 3.12"
7581 cache : " pip"
76- cache-dependency-path : open-codegen/setup.py
82+ cache-dependency-path : open-codegen/pyproject.toml
7783
7884 - uses : egor-tensin/setup-clang@v1
7985 if : runner.os == 'Linux'
@@ -103,6 +109,20 @@ jobs:
103109 if : runner.os == 'macOS'
104110 run : bash ./ci/script.sh python-tests
105111
112+ - name : Install Python package
113+ if : runner.os == 'Windows'
114+ working-directory : open-codegen
115+ run : |
116+ python -m pip install --upgrade pip
117+ python -m pip install .
118+
119+ - name : Run Python test.py
120+ if : runner.os == 'Windows'
121+ working-directory : open-codegen
122+ env :
123+ PYTHONPATH : .
124+ run : python -W ignore test/test.py -v
125+
106126 ros2_tests :
107127 name : ROS2 tests
108128 needs : python_tests
You can’t perform that action at this time.
0 commit comments