ci: add Forgejo Actions workflow for test automation
Some checks failed
CI / test (push) Failing after 11s

Runs ruff lint and pytest on push/PR to master.
This commit is contained in:
jlightner 2026-04-03 06:06:20 +00:00
parent e462c7c452
commit 3de703716f

25
.forgejo/workflows/ci.yml Normal file
View file

@ -0,0 +1,25 @@
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: python
defaults:
run:
working-directory: services/api
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Lint
run: ruff check app/ tests/
- name: Run tests
run: python -m pytest tests/ -v