Skip to content

fix(organism): the no-double-rhythm rule was a comment, not a control #3457

fix(organism): the no-double-rhythm rule was a comment, not a control

fix(organism): the no-double-rhythm rule was a comment, not a control #3457

name: enterprise-gate
on:
pull_request:
push:
branches: [main]
jobs:
enterprise-gate:
runs-on: macos-latest
timeout-minutes: 12
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Run enterprise static ratchet
env:
AURA_TEST_MODE: "1"
PYTEST_DISABLE_PLUGIN_AUTOLOAD: "1"
run: |
python tools/aura_enterprise_gate.py \
--root . \
--baseline config/aura_enterprise_gate_baseline.json \
--fail-on-regression \
--skip-pytest-collect \
--out enterprise_gate_report.json
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
python -m pip install \
pydantic pydantic-settings \
pytest pytest-asyncio \
numpy scipy \
requests httpx aiosqlite \
pyyaml structlog pybreaker psutil tenacity \
prometheus-client prometheus-fastapi-instrumentator
- name: Run enterprise regression tests
env:
AURA_TEST_MODE: "1"
PYTEST_DISABLE_PLUGIN_AUTOLOAD: "1"
run: |
python -m pytest \
-p pytest_asyncio.plugin \
tests/test_enterprise_hardening_fixes.py \
tests/test_enterprise_static_contracts.py \
-q --tb=short --disable-warnings
- name: Upload enterprise gate report
if: always()
uses: actions/upload-artifact@v4
with:
name: enterprise-gate-report
path: enterprise_gate_report.json