Files
whisper-remote/.gitea/workflows/ci.yml
space 9fd0e707f0
Some checks failed
CI / CLI (push) Has been cancelled
CI / Backend (push) Has been cancelled
Flatten package layout and add Gitea CI
2026-05-24 12:43:03 +02:00

63 lines
1.4 KiB
YAML

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