Publish workflow #2

Merged
mathias2784 merged 11 commits from publish-workflow into master 2026-10-01 19:31:35 +00:00
Showing only changes of commit 605f423ff0 - Show all commits
+24
View File
@@ -0,0 +1,24 @@
---
name: Tests
on: [push]
jobs:
test_and_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.14"
- name: Install uv
run: pip install uv
- name: Install dependencies
run: uv sync --frozen
- name: Run pytest
run: uv run pytest .
- name: Check formatting (black)
run: uv run black --check . --extend-exclude .venv
- name: Lint (ruff)
run: uv run ruff check .