Merge pull request #193 from calesthio/codex/add-ci-pipeline

[codex] Add GitHub Actions CI pipeline
This commit is contained in:
Calesthio
2026-06-25 16:56:27 -07:00
committed by GitHub
4 changed files with 51 additions and 1 deletions

46
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,46 @@
name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
name: Validate Python
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
cache-dependency-path: |
requirements.txt
requirements-dev.txt
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y ffmpeg
- name: Install dependencies
run: make install-dev
- name: Run lint smoke checks
run: make lint
- name: Run test suite
run: make test

View File

@@ -4,5 +4,6 @@ pydantic>=2.0
jsonschema>=4.20
python-dotenv>=1.0
Pillow>=10.0
numpy>=1.24
requests>=2.31
google-auth>=2.0 # service-account auth for Google TTS + Imagen (Vertex AI)

View File

@@ -33,6 +33,9 @@ When both Remotion and HyperFrames are available:
- FFmpeg: post-processing only. Do not pick FFmpeg as the primary runtime for
character acting.
Present both Remotion and HyperFrames to the user before recommending one.
Record the alternatives considered in the decision log as
`render_runtime_selection`, including why `hyperframes` was accepted or rejected.
Wait for user approval before locking `render_runtime`.
## Sample-First Rule

View File

@@ -143,7 +143,7 @@ class TestCapabilityMetadata:
catalog = reg.capability_catalog()
assert "tts" in catalog
providers = {item["provider"] for item in catalog["tts"] if item["provider"] != "selector"}
assert providers == {"elevenlabs", "google_tts", "openai", "piper"}
assert providers == {"doubao", "elevenlabs", "google_tts", "openai", "piper"}
# ---- Animated Explainer Pipeline ----