Drop python 3.8 specifics #670
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Testsuite | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- develop | |
- ci-debug | |
schedule: | |
- cron: "0 9 * * 0" | |
jobs: | |
testsuite: | |
name: Run testsuite | |
runs-on: ${{ matrix.os }} | |
env: | |
MPLBACKEND: svg | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04, windows-latest] | |
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] | |
include: | |
- python-version: "3.13" | |
only-minimal: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up Python | |
run: uv python install | |
- name: Install python essentials | |
run: uv pip install -U setuptools setuptools_scm wheel pytest-xdist | |
- name: Install dependencies complete | |
if: matrix.only-minimal != true | |
run: uv pip install -e .[all,testing] | |
- name: Install dependencies minimal | |
if: matrix.only-minimal == true | |
run: uv pip install -e .[testing] | |
- name: Unit tests | |
run: pytest -n auto | |
- name: Notebook flow tests | |
if: matrix.only-minimal != true | |
uses: coactions/setup-xvfb@v1 | |
with: | |
run: python -m pytest -m demos |