Skip to content

Commit 9911c70

Browse files
committed
GA tests: windows
1 parent 627c2df commit 9911c70

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
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

@@ -37,6 +39,7 @@ jobs:
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
@@ -57,6 +60,9 @@ jobs:
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 }}
@@ -73,7 +79,7 @@ jobs:
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

0 commit comments

Comments
 (0)