Skip to content

Commit e62ffb1

Browse files
committed
Fix testing on Windows with GH Actions
1 parent 4280816 commit e62ffb1

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/testing.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,15 @@ jobs:
2020
os: [ubuntu-latest, windows-latest]
2121
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
2222
exclude:
23-
- os: windows-latest # only test with Python 3.10 on Windows
24-
python-version: ["3.8", "3.9", "3.11", "3.12"]
23+
# only test with Python 3.10 on Windows
24+
- os: windows-latest
25+
python-version: "3.8"
26+
- os: windows-latest
27+
python-version: "3.9"
28+
- os: windows-latest
29+
python-version: "3.11"
30+
- os: windows-latest
31+
python-version: "3.12"
2532

2633
steps:
2734
- uses: actions/checkout@v4
@@ -32,7 +39,7 @@ jobs:
3239
- name: Install dependencies
3340
run: |
3441
python -m pip install --upgrade pip
35-
if [ -f dev-requirements.txt ]; then pip install -r dev-requirements.txt; fi
42+
python -m pip install -r dev-requirements.txt
3643
- name: Lint with flake8
3744
run: |
3845
# stop the build if there are Python syntax errors or undefined names

0 commit comments

Comments
 (0)