From fefc60a93dfc375a95ac4dcd26e91f42314d5c4b Mon Sep 17 00:00:00 2001 From: k1nq Date: Wed, 16 Sep 2026 14:31:13 +0500 Subject: [PATCH] Add CI workflow configuration for automated checks and testing --- .gitea/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 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..fcbc1f1 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,31 @@ +name: CI + +on: + push: + pull_request: + +jobs: + checks: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up uv and Python + uses: astral-sh/setup-uv@v6 + with: + python-version: "3.12" + enable-cache: true + + - name: Install dependencies + run: uv sync --locked --extra dev + + - name: Run ruff + run: uv run ruff check . + + - name: Run ty + run: uv run ty check + + - name: Run pytest + run: uv run pytest