From 605f423ff0eef84cbc95733d9b161b12fd5614dc Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Thu, 1 Oct 2026 17:27:50 +0200 Subject: [PATCH] gitea workflow --- .gitea/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..4bccf30 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -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 .