-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.56 KB
/
Copy pathtests.yml
File metadata and controls
42 lines (40 loc) · 1.56 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
name: tests
on:
push:
pull_request:
jobs:
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install package
run: python -m pip install --upgrade pip && python -m pip install -e '.[dev]'
- name: Ruff unused imports
run: python -m ruff check --select F401,F811 src scripts tests
- name: Complexity proving test
run: bash scripts/test-check-complexity.sh
- name: Vulture proving test
run: bash scripts/test-check-vulture.sh
- name: Vulture dead code
run: bash scripts/check-vulture.sh src scripts tests
- name: Unit tests
run: python -m unittest discover -s tests -v
env:
PYTHONPATH: src
- name: Fixture corpus
run: python scripts/run_eval.py
- name: Harder multi-file fixtures
run: python scripts/prove_multifile_refactor.py
- name: Scripted orchestrator
run: python scripts/run_orchestration.py
- name: Stub MCP golden
run: python scripts/run_harness.py --backend stub --profile golden --fast-ms 1 --strong-ms 1
- name: Stub MCP + apply gate
run: python scripts/run_harness.py --backend stub --profile golden --orchestrate --fast-ms 1 --strong-ms 1
- name: Stub MCP observed failover
run: python scripts/run_harness.py --backend stub --profile observed --fast-ms 1 --strong-ms 1
- name: Deployment safety
run: python scripts/check_deployment_safety.py --skip-listen