ci: add gitea workflow for required PR status checks
All checks were successful
CI / test-and-quality (push) Successful in 50s
CI / test-and-quality (pull_request) Successful in 50s

This commit is contained in:
2026-02-27 16:37:06 +01:00
parent d66c21ecb3
commit 0cb936173f

33
.gitea/workflows/ci.yml Normal file
View File

@@ -0,0 +1,33 @@
name: CI
on:
push:
branches:
- "**"
pull_request:
branches:
- main
jobs:
test-and-quality:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install ruff
- name: Lint
run: ruff check lobby
- name: Tests
run: python manage.py test lobby -v 1