Add Gitea CI workflow; fix ruff lint issues
CI / test (push) Successful in 1m16s

This commit is contained in:
2026-06-28 07:44:04 -05:00
parent 129b1eff04
commit bd171d2384
10 changed files with 64 additions and 36 deletions
+30
View File
@@ -0,0 +1,30 @@
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.13"
- name: Install dependencies
run: |
pip install ruff
pip install -r requirements.txt
- name: Lint
run: ruff check .
- name: Run tests
run: pytest tests/ -v