Skip to content

[pre-commit.ci] pre-commit autoupdate #167

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #167

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
schedule:
# Run weekly, Friday at 7:15 EST.
- cron: '15 12 * * 5'
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install from source
run: |
pip install -U pip
pip install -U .[test]
- name: Run tests
run: |
pytest -v