chore(kakao): align F45/F44/F46 implementation record status and road… #37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| jobs: | |
| import-smoke: | |
| name: Import Smoke Test (ComfyUI loader) | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install import deps | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install numpy pillow | |
| - name: Import smoke test | |
| env: | |
| MOLTBOT_STATE_DIR: ${{ github.workspace }}/moltbot_state/_ci_smoke | |
| run: | | |
| python scripts/run_unittests.py --module tests.test_comfyui_loader_import | |
| frontend-e2e: | |
| name: Frontend E2E (Playwright) | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install Node deps | |
| run: | | |
| npm install | |
| - name: Install Playwright browsers | |
| run: | | |
| npx playwright install chromium | |
| - name: Run E2E | |
| run: | | |
| npm test | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install test deps | |
| run: | | |
| python -m pip install --upgrade pip | |
| # Keep aligned with local pre-push/full-test scripts. | |
| # aiohttp is required by multiple unit-test import paths. | |
| python -m pip install numpy pillow aiohttp | |
| - name: Run unit tests | |
| env: | |
| MOLTBOT_STATE_DIR: ${{ github.workspace }}/moltbot_state/_ci_unit | |
| run: | | |
| python scripts/run_unittests.py --start-dir tests --pattern "test_*.py" | |
| contract-tests: | |
| name: Contract Tests (R52) | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install test deps | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install numpy pillow aiohttp pytest-asyncio | |
| - name: Run contract tests | |
| run: | | |
| python -m pytest tests/contract -v | |
| security-audit: | |
| name: Security Audit (S23) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Frontend Audit (npm) | |
| run: | | |
| # Audit only production dependencies, ignore dev | |
| npm audit --production | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install pip-audit | |
| run: pip install pip-audit | |
| - name: Backend Audit (pip) | |
| run: pip-audit |