forked from rosasynthesiz/flstudio-mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
63 lines (46 loc) · 2.02 KB
/
Copy pathci.yml
File metadata and controls
63 lines (46 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: CI
on:
push:
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
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,audio]"
- 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 scripts/check_github_project_fingerprint.py scripts/check_release_tag.py scripts/validate_github_labels.py
- name: Lint hard Python errors
run: ruff check --select E9,F src fl_controller/FLStudioPilot/device_FLStudioPilot.py scripts/audit_tool_safety.py tests/test_bridge_mock.py scripts/audit_anti_vibe.py scripts/check_tool_registration_baseline.py scripts/check_github_project_fingerprint.py scripts/check_release_tag.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: Check evals contract
run: python scripts/check_evals_contract.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: Validate GitHub label taxonomy
run: python scripts/validate_github_labels.py
- name: Run offline test suite
run: pytest