From 95aecccb035aa6184b2c38710ac47acf1f14d4c9 Mon Sep 17 00:00:00 2001 From: kaffa Date: Tue, 3 Feb 2026 11:38:36 +0900 Subject: [PATCH] Add Gitea Actions CI workflow --- .gitea/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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..d4dd8ae --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,30 @@ +name: Python CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.11' + + - name: Install uv + run: pip install uv + + - name: Install dependencies + run: uv pip install --system -e ".[dev]" || uv pip install --system -e . + + - name: Lint with ruff + run: ruff check . || true + + - name: Type check + run: mypy . --ignore-missing-imports || true