Files
0pt/.gitea/workflows/python-engine.yml
T

32 lines
908 B
YAML

name: Python Engine CI (SIAX Cloud)
on:
push:
branches: ["**"]
pull_request:
workflow_dispatch:
jobs:
python-engine:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: |
services/api/requirements.txt
services/api/requirements-dev.txt
- name: Install engine test dependencies
working-directory: services/api
run: python -m pip install --disable-pip-version-check -r requirements-dev.txt
- name: Compile Python sources
working-directory: services/api
run: python -m compileall -q orchestrator sources workers
- name: Run Python engine regression suite
working-directory: services/api
env:
PYTHONPATH: .
run: python -m pytest -q