Canary tests #94
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: 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 |