add migration and enable ci
All checks were successful
Backend CI / unit-test (push) Successful in 1m40s

This commit is contained in:
2025-09-13 21:14:14 +02:00
parent 738df559cb
commit 616232b76d
4 changed files with 118 additions and 2 deletions

29
.github/workflows/backend-ci.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Backend CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
unit-test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install deps
run: pip install -r dev-requirements.txt
- name: Run tests
run: |
pytest -q