Skip to content

Commit

Permalink
Add a windows test to the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
e2thenegpii authored and MrMino committed Jul 18, 2024
1 parent f600f60 commit d14c787
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Tests
on: [push]

jobs:
test:
test-ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -24,3 +24,23 @@ jobs:
- name: Test with pytest
run: |
pytest
test-windows:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt
python -m pip install -r requirements.txt
- name: Test with pytest
run: |
pytest

0 comments on commit d14c787

Please sign in to comment.