ci: make Python engine tests a blocking PR gate

This commit is contained in:
2026-09-07 17:21:34 +02:00
parent 257e6d3410
commit 09e3a01acd
+31
View File
@@ -0,0 +1,31 @@
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