Move CI workflow from .github to .gitea
CI / test (push) Successful in 48s
CI / test (pull_request) Successful in 49s

Gitea Actions reads .gitea/workflows, so the workflow lives there. Update
the workflow header comment, the Continuous integration section and the
project layout in the README to match. A GitHub mirror does not run it.
This commit is contained in:
2026-10-07 11:38:07 +08:00
parent 56cdf02575
commit dad0fb21d4
2 changed files with 7 additions and 6 deletions
+26
View File
@@ -0,0 +1,26 @@
# Runs on Gitea Actions (Gitea reads .gitea/workflows).
name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install
run: |
python -m venv .venv
.venv/bin/python -m pip install --upgrade pip
.venv/bin/python -m pip install -e ".[dev]"
- name: Lint
run: .venv/bin/ruff check .
- name: Type check
run: .venv/bin/mypy
- name: Test
run: .venv/bin/python -m pytest