run test suite in github actions #69
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: Code quality | |
on: | |
push: | |
env: | |
UV_PYTHON_PREFERENCE: only-system | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Acquire sources | |
uses: actions/[email protected] | |
- name: Install uv | |
uses: astral-sh/setup-uv@v4 | |
with: | |
enable-cache: true | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: "3.13" | |
architecture: x64 | |
- name: Install dev dependencies | |
run: uv sync only-system | |
- name: ruff format | |
run: uv run ruff format --diff . | |
- name: ruff check | |
run: uv run ruff check --diff . |