35 lines
996 B
YAML
35 lines
996 B
YAML
name: Self-Healing Smoke
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
self-healing-smoke:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
|
|
- name: Shell syntax checks
|
|
run: |
|
|
bash -n scripts/fleet_health_probe.sh
|
|
bash -n scripts/auto_restart_agent.sh
|
|
bash -n scripts/backup_pipeline.sh
|
|
|
|
- name: Python compile checks
|
|
run: |
|
|
python3 -m py_compile uni-wizard/daemons/health_daemon.py
|
|
python3 -m py_compile scripts/fleet_milestones.py
|
|
python3 -m py_compile scripts/sovereign_health_report.py
|
|
python3 -m py_compile tests/docs/test_self_healing_infrastructure.py
|
|
python3 -m py_compile tests/docs/test_self_healing_ci.py
|
|
|
|
- name: Phase-2 doc tests
|
|
run: |
|
|
pytest -q tests/docs/test_self_healing_infrastructure.py tests/docs/test_self_healing_ci.py
|