Skip to content

Commit 9fc0bd8

Browse files
committed
Test windows build in different job
Signed-off-by: Jono Yang <jyang@nexb.com>
1 parent c563f89 commit 9fc0bd8

1 file changed

Lines changed: 26 additions & 2 deletions

File tree

.github/workflows/test-and-build.yml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
with:
109109
path: dist/*.tar.gz
110110

111-
test_on_many_oses:
111+
test_on_posix_oses:
112112
name: Run tests ${{ matrix.python }} on ${{ matrix.os }}
113113
runs-on: ${{ matrix.os }}
114114
defaults:
@@ -118,7 +118,7 @@ jobs:
118118
strategy:
119119
fail-fast: false
120120
matrix:
121-
os: [ubuntu-22.04, ubuntu-24.04, macos-13, macos-14, windows-2022, windows-2025]
121+
os: [ubuntu-22.04, ubuntu-24.04, macos-13, macos-14]
122122
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
123123

124124
steps:
@@ -133,3 +133,27 @@ jobs:
133133
run: >
134134
make dev &&
135135
make test
136+
137+
test_on_nt_oses:
138+
name: Run tests ${{ matrix.python }} on ${{ matrix.os }}
139+
runs-on: ${{ matrix.os }}
140+
141+
strategy:
142+
fail-fast: false
143+
matrix:
144+
os: [windows-latest]
145+
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
146+
147+
steps:
148+
- name: Set up Python
149+
uses: actions/setup-python@v5
150+
with:
151+
python-version: "${{ matrix.python }}"
152+
153+
- uses: actions/checkout@v4
154+
155+
- name: Build, install and test
156+
run: >
157+
.\configure.bat --dev &&
158+
.\venv\Scripts\activate &&
159+
py.test -vvs .

0 commit comments

Comments
 (0)