chore: harden release checks and sync capability docs

This commit is contained in:
732642856
2026-06-21 16:50:46 +08:00
parent 33fd7e07fa
commit 23b8b6e5cf
17 changed files with 192 additions and 125 deletions
+20 -1
View File
@@ -18,11 +18,30 @@ jobs:
with:
python-version: '3.11'
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
cache-dependency-path: jyotish-app/package-lock.json
- name: Install dependencies
run: python -m pip install --upgrade pip && pip install -r requirements.txt && pip install -r requirements-dev.txt
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt -r requirements-dev.txt
npm ci --prefix jyotish-app
- name: Run Ruff lint for v6.0.33 quality gate files
run: ruff check scripts/run_quality_gate.py tests/test_varga_bphs.py tests/test_ashtakavarga_invariants.py tests/test_cli_smoke.py tests/test_yoga_rules_integrity.py
- name: Run Python syntax check
run: python -m py_compile scripts/*.py jyotish_vedic/*.py mcp_server.py
- name: Run quality gate
run: python scripts/run_quality_gate.py --skip-yoga-logic
- name: Build frontend
run: npm run build --prefix jyotish-app
- name: Build Python package
run: python -m build --no-isolation
+15 -3
View File
@@ -13,7 +13,19 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with: { python-version: '3.11' }
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
cache-dependency-path: jyotish-app/package-lock.json
- name: Install dependencies
run: pip install swisseph 2>/dev/null || true
- name: Run test suite
run: cd tests && python3 run_all.py
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt -r requirements-dev.txt
npm ci --prefix jyotish-app
- name: Run pytest suite
run: python -m pytest -q
- name: Run legacy runner
run: python tests/run_all.py
- name: Build frontend
run: npm run build --prefix jyotish-app