← Files DesignlyARCHIVED FILE

.github/workflows/ci.yml

2.92 KB · Sep 30, 2026 · 23:14 UTC

↓ Download file

name: Designly CI

on:
  pull_request:
  push:
    branches: [main]

permissions:
  contents: read

jobs:
  quality:
    runs-on: ubuntu-latest
    timeout-minutes: 10
    steps:
      - uses: actions/checkout@v4

      - uses: actions/setup-python@v5
        with:
          python-version: '3.12'

      - name: Install test dependencies
        run: python -m pip install --disable-pip-version-check pyyaml jsonschema

      - name: Compile Python
        run: python -m compileall -q shared skills evals tools

      - name: Validate Design Neural Mesh
        run: python shared/scripts/validate_mesh.py

      - name: Validate Skill interfaces
        run: python shared/scripts/validate_skill_interfaces.py

      - name: Validate Codex agents
        run: python shared/scripts/validate_agent_configs.py

      - name: Regression baseline
        run: python evals/baseline/test_monolith_parity.py

      - name: Skill routing
        run: python evals/routing/test_skill_catalog.py

      - name: Typed handoff contracts
        run: python evals/handoffs/test_contracts.py

      - name: Agent boundaries
        run: python evals/handoffs/test_agents.py

      - name: Edit sanitizer regression suite
        run: python evals/edit/test_edit_sanitizer.py

      - name: Revision routing
        run: python evals/visual/test_revision_router.py

      - name: Mesh adversarial evals
        run: python evals/run_mesh_evals.py

      - name: Prompt anti-slop regressions
        run: python skills/prompt-compiler/scripts/test_prompt_lint.py

      - name: Visual release gates
        run: python skills/visual-qa/scripts/test_gates.py

      - name: Creative Director unit tests
        run: python skills/creative-director/scripts/test_creative_director.py

      - name: Insight Mining unit tests
        run: python skills/insight-mining/scripts/test_insight_mining.py

      - name: Campaign Canon unit tests
        run: python skills/campaign-canon/scripts/test_campaign_canon.py

      - name: Brand Activation unit tests
        run: python skills/brand-activation/scripts/test_brand_activation.py

      - name: Visual Storytelling unit tests
        run: python skills/visual-storytelling/scripts/test_visual_storytelling.py

      - name: Reference Memory CRUD tests
        run: python skills/reference-memory/scripts/test_taste_memory.py

      - name: Taste Engine regressions
        run: |
          python skills/taste-engine/scripts/test_taste_lint.py
          python skills/taste-engine/scripts/test_taste_merge.py

      - name: Public plugin preflight
        run: python tools/validate_public_plugin.py .

      - name: Deterministic package build
        run: |
          mkdir -p /tmp/designly-pack
          python tools/package_plugin.py . /tmp/designly-pack/a.zip
          python tools/package_plugin.py . /tmp/designly-pack/b.zip
          cmp /tmp/designly-pack/a.zip /tmp/designly-pack/b.zip
          unzip -l /tmp/designly-pack/a.zip | head -40

SHA-256: 9a93a7b841c11d7f6888e5df9238125e69b8235043c524a9afc5dbc6950c9461