Skip to content

Commit

Permalink
Fix testing on Windows with GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Oct 19, 2024
1 parent 4280816 commit e62ffb1
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,15 @@ jobs:
os: [ubuntu-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
exclude:
- os: windows-latest # only test with Python 3.10 on Windows
python-version: ["3.8", "3.9", "3.11", "3.12"]
# only test with Python 3.10 on Windows
- os: windows-latest
python-version: "3.8"
- os: windows-latest
python-version: "3.9"
- os: windows-latest
python-version: "3.11"
- os: windows-latest
python-version: "3.12"

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

0 comments on commit e62ffb1

Please sign in to comment.