fixup! TEMPORARY COMMIT - DO NOT MERGE #177
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: Main | |
on: | |
- pull_request | |
- push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- '3.8' | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Use Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Configure uv | |
uses: astral-sh/setup-uv@v2 | |
with: | |
enable-cache: true | |
- name: Sync dependencies | |
run: uv sync --all-extras --dev | |
- name: Check styling | |
run: uv run flake8 --ignore=E123,E231 src tests | |
- name: Check types | |
run: uv run mypy | |
- name: Run tests | |
run: uv run pytest |