Skip to content

Commit

Permalink
Run CI on Windows as well
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz committed Jun 29, 2024
1 parent 040a757 commit 027afd2
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@ concurrency:

jobs:
tests:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-22.04
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
os:
- ubuntu-22.04
- windows-2022
python-version:
- 3.8
- 3.9
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
Expand All @@ -44,6 +47,7 @@ jobs:
run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)

- name: Upload coverage data
if: matrix.os != 'windows-2022'
uses: actions/upload-artifact@v4
with:
name: coverage-data-${{ matrix.python-version }}
Expand Down

0 comments on commit 027afd2

Please sign in to comment.