fix(relay): gate canary awards on proxy_class before ledger credit #4
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 | |
| # Sole-repo CI for BaseIntelligence/relay. | |
| # Cross-repo diary tests that need BaseIntelligence/basecrawl as a sibling | |
| # checkout (../basecrawl) skip gracefully when the sibling is absent. | |
| # To run the full monorepo diary, check out basecrawl beside relay (e.g. | |
| # optional multi-repo checkout of BaseIntelligence/basecrawl into ../basecrawl). | |
| on: | |
| push: | |
| branches: | |
| - "**" | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| - name: Sync deps | |
| run: uv sync --extra dev | |
| - name: Ruff check | |
| run: uv run ruff check . | |
| - name: Ruff format | |
| run: uv run ruff format --check . | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # Optional: add actions/checkout for BaseIntelligence/basecrawl into | |
| # ${{ github.workspace }}/../basecrawl to exercise sibling diary tests. | |
| - uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| - name: Sync deps | |
| run: uv sync --extra dev | |
| - name: Pytest | |
| run: uv run pytest --cov=relay --cov-report=term-missing --cov-fail-under=80 |