Skip to content

Merge pull request #17 from sfider/tests-on-windows #30

Merge pull request #17 from sfider/tests-on-windows

Merge pull request #17 from sfider/tests-on-windows #30

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# https://endoflife.date/python
# https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#python
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
steps:
- uses: actions/checkout@v4
- name: set up python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: install python dependencies
run: pip install -r requirements.txt
- name: install python test dependencies
run: pip install -r requirements-dev.txt
- name: run tests
run: py.test -vs tests/