Skip to content

version++

version++ #216

Workflow file for this run

name: Test
on:
push:
pull_request:
branches:
- main
schedule:
- cron: "0 7 * * 1"
jobs:
python-library:
name: Build and test Python library
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
- run: python3 -m pip install -e .[ci]
name: Install Python library
- run: |
python3 -m ruff check .
python3 -m ruff format --check .
name: Ruff checks
- run: python3 -m mypy . --install-types --non-interactive
name: mypy checks
- run: python3 -m pytest test
name: Run Python tests