Skip to content

Tests

Tests #144

Workflow file for this run

name: Tests
on:
push:
schedule:
- cron: 0 0 * * 0
jobs:
tests:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version:
- '3.5'
- '3.6'
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
env:
# Workaround for https://github.com/actions/setup-python/issues/866
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install dependencies
run: |
python -m pip install --user --upgrade pip setuptools
python -m pip install --user -e .[dev]
- name: Run unit tests
run: |
python -m pytest tests