Skip to content

tests

tests #356

Workflow file for this run

name: tests
on:
push:
branches:
- main
schedule:
- cron: "0 8 * * */2"
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test with ${{ matrix.py }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
py:
- "3.11"
- "3.10"
- "3.9"
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.py }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py }}
- name: Install package
run: |
pip install --upgrade pip
python -m pip install .[all]
- name: Run test suite
run: pytest tests