Skip to content

Commit ef619b9

Browse files
committed
[build] Run tests on Windows.
The use of temporary files for injecting fixtures into packages shows platform-specific behavior. As a result, it makes sense to run the tests on Windows as well, at least as long as the virtual module workaround is in place. Signed-off-by: Michael Seifert <[email protected]>
1 parent aecfd01 commit ef619b9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/main.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,12 @@ jobs:
5656
path: dist
5757

5858
test:
59-
name: Python ${{ matrix.python-version }}
60-
runs-on: ubuntu-latest
59+
name: ${{ matrix.os }} - Python ${{ matrix.python-version }}
60+
runs-on: ${{ matrix.os }}
6161

6262
strategy:
6363
matrix:
64+
os: [ubuntu-latest, windows-latest]
6465
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
6566

6667
steps:
@@ -75,7 +76,6 @@ jobs:
7576
python-version: ${{ matrix.python-version }}
7677
- name: Install dependencies
7778
run: |
78-
set -xe
7979
python -VV
8080
python -m site
8181
python -m pip install --upgrade pip
@@ -85,6 +85,7 @@ jobs:
8585

8686
- name: Store coverage data
8787
uses: actions/upload-artifact@v3
88+
if: "!endsWith(matrix.os, 'windows')"
8889
with:
8990
name: coverage-per-interpreter
9091
path: .coverage.*

0 commit comments

Comments
 (0)