Skip to content

Commit

Permalink
Add windows platform to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
theskumar committed Nov 1, 2024
1 parent 2b8635b commit 30b49bf
Showing 1 changed file with 25 additions and 17 deletions.
42 changes: 25 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,30 @@ jobs:
matrix:
os:
- ubuntu-latest
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", pypy3.9, pypy3.10]
- windows-latest
python-version:
["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", pypy3.9, pypy3.10]
exclude:
# Exclude PyPy on Windows as it might have compatibility issues
- os: windows-latest
python-version: pypy3.9
- os: windows-latest
python-version: pypy3.10

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install dependencies
run: pip install tox tox-gh-actions

- name: Test with tox
run: tox
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Upgrade pip
run: python -m pip install --upgrade pip

- name: Install dependencies
run: pip install tox tox-gh-actions

- name: Test with tox
run: tox

0 comments on commit 30b49bf

Please sign in to comment.