Skip to content

Canary tests

Canary tests #94

Workflow file for this run

name: Canary tests
on:
workflow_call:
schedule:
- cron: '* * * * 0'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v2
with:
enable-cache: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Run tests with upgraded packages
run: uv run --upgrade --python ${{ matrix.python-version }} --python-preference only-system pytest
- name: Mypy
run: |
uv run --upgrade --python ${{ matrix.python-version }} --python-preference only-system mypy