add ci yaml (#9)
Tests / test_and_lint (push) Successful in 7s

Reviewed-on: #9
Co-authored-by: Mathias Scheider <mathias2784@web.de>
This commit was merged in pull request #9.
This commit is contained in:
2026-09-30 18:49:48 +00:00
committed by mathias2784
parent 3cd8541b24
commit d9758c598d
5 changed files with 137 additions and 4 deletions
+26
View File
@@ -0,0 +1,26 @@
---
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: copy env
run: cp .env.template .env
- 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 .