CI #16
Workflow file for this run
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: | |
| push: | |
| pull_request: | |
| jobs: | |
| lint-and-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install package | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e ".[dev]" | |
| - name: Compile core Python | |
| run: python -m compileall src tests/test_bridge_mock.py scripts/audit_tool_safety.py scripts/audit_anti_vibe.py scripts/check_tool_registration_baseline.py | |
| - name: Lint hard Python errors | |
| run: ruff check --select E9,F src fl_controller/FLStudioMCP/device_FLStudioMCP.py scripts/audit_tool_safety.py tests/test_bridge_mock.py scripts/audit_anti_vibe.py scripts/check_tool_registration_baseline.py | |
| - name: Audit anti-vibe coding | |
| run: python scripts/audit_anti_vibe.py | |
| - name: Check tool registration baseline | |
| run: python scripts/check_tool_registration_baseline.py | |
| - name: Audit tool safety | |
| run: python scripts/audit_tool_safety.py --fail-on-gaps | |
| - name: Audit tool safety docs | |
| run: python scripts/audit_tool_safety.py --fail-on-missing-safety-docs --format json | |
| - name: Run mock bridge smoke | |
| run: python tests/test_bridge_mock.py | |
| - name: Run offline test suite | |
| run: pytest |