SilverSight/.github/workflows/python-check.yml
allaun 4490dc28a7 feat(rrc): bare-minimum RRC refactor into SilverSight
- Move canonical FixedPoint to Core/SilverSight/FixedPoint.lean
- Add SilverSightRRC library: RRC logogram gates, receipt bridge, AVM ISA
- Add AVMIsa.Emit as the sole top-level JSON output boundary
- Add rrc-emit-fixture executable and Python I/O shims
- Update AGENTS.md, glossary, project map, and build baseline

Build: 2981 jobs, 0 errors (lake build)
2026-06-21 09:08:48 -05:00

23 lines
738 B
YAML

name: Python Check
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install deps
run: pip install -r requirements.txt
- name: Compile touched Python files
run: python3 -m py_compile python/*.py qubo/*.py tests/*.py
- name: Run tests
run: PYTHONPATH=$GITHUB_WORKSPACE pytest tests/ -v
- name: Check for secrets
run: |
if grep -rn "api_key\|password\|token\|secret" --include="*.py" python/ qubo/ tests/; then
echo "ERROR: Hardcoded secrets found"
exit 1
fi