Skip to content

Commit 2fd79f4

Browse files
committed
Add native Windows test jobs to CI matrix
This expands the CI test matrix in the main testing workflow to test on both Ubuntu and Windows, instead of just Ubuntu. It does not attempt to merge in the Cygwin workflow at this time, which may or may not end up being useful to do in the future. The new Windows test jobs all fail currently: the runs fail as a result of various tests being consistently unable to pass but not yet being marked xfail (or skip). It should be feasible to mark these xfail with informative messages, but this commit doesn't include that.
1 parent 5c6a4f4 commit 2fd79f4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: .github/workflows/pythonpackage.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,19 @@ permissions:
1010

1111
jobs:
1212
build:
13-
runs-on: ubuntu-latest
14-
1513
strategy:
1614
fail-fast: false
1715
matrix:
16+
os: ["ubuntu-latest", "windows-latest"]
1817
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
1918
include:
2019
- experimental: false
2120

21+
runs-on: ${{ matrix.os }}
22+
2223
defaults:
2324
run:
24-
shell: /bin/bash --noprofile --norc -exo pipefail {0}
25+
shell: bash --noprofile --norc -exo pipefail {0}
2526

2627
steps:
2728
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)