Flatten package layout and add Gitea CI
Some checks failed
CI / CLI (push) Has been cancelled
CI / Backend (push) Has been cancelled

This commit is contained in:
2026-05-24 12:43:03 +02:00
parent 8cd7385eb8
commit 9fd0e707f0
11 changed files with 108 additions and 28 deletions

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

@@ -0,0 +1,62 @@
name: CI
on:
push:
branches:
- main
pull_request:
jobs:
backend:
name: Backend
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://github.com/actions/checkout@v4
- name: Set up Python
uses: https://github.com/actions/setup-python@v5
with:
python-version: "3.13"
- name: Install backend dependencies
working-directory: backend
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev]
python -m pip install build
- name: Test backend
working-directory: backend
run: python -m pytest
- name: Build backend package
working-directory: backend
run: python -m build
cli:
name: CLI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://github.com/actions/checkout@v4
- name: Set up Python
uses: https://github.com/actions/setup-python@v5
with:
python-version: "3.13"
- name: Install CLI dependencies
working-directory: cli
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev]
python -m pip install build
- name: Test CLI
working-directory: cli
run: python -m pytest
- name: Build CLI package
working-directory: cli
run: python -m build