Skip to content

Tests

Tests #28

Workflow file for this run

name: Tests
on:
push:
schedule:
# Run weekly, Friday at 7:15 EST.
- cron: '15 12 * * 5'
# TODO: cibuildwheel and PyPI upload
# TODO: CUDA tests on Jenkins
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