feat: Prometheus+Grafana monitoring profile and pipeline benchmark ha… #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: { branches: [main] } | |
| pull_request: { branches: [main] } | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: { python-version: "3.12" } | |
| - run: pip install ruff==0.6.9 | |
| - name: Ruff lint | |
| run: ruff check . | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: { python-version: "3.12" } | |
| - run: pip install pytest pyyaml numpy | |
| - name: Byte-compile all sources | |
| run: python -m compileall -q common sim ingest alerts api bridge bench | |
| - name: Run unit tests | |
| run: python -m pytest -q tests |