Skip to content

Tests

Tests #200

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 -vU \
-Ccmake.verbose=true \
-Ccmake.define.CMAKE_COMPILE_WARNING_AS_ERROR=ON \
.[test]
- name: Run tests
run: |
pytest -v