Skip to content

tests

tests #196

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
schedule:
- cron: "0 8 * * */2"
concurrency:
group: check-${{ 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@v4
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