Skip to content

Add runtime gRPC server helpers and proto guard #17

Add runtime gRPC server helpers and proto guard

Add runtime gRPC server helpers and proto guard #17

Workflow file for this run

name: CI
on:
push:
branches: ["main", "review", "review-1"]
pull_request:
env:
PIP_DISABLE_PIP_VERSION_CHECK: "1"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install toolchain
run: |
pip install uv
uv pip install --system -e .
uv pip install --system ruff pyright typeguard toml-sort yamllint
- name: Lint and format checks
run: |
make fmt-check
make protos-check
- name: Docs guard
env:
BASE_REF: ${{ github.event.pull_request.base.sha || 'HEAD~1' }}
run: make docs-guard
tests:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install uv
uv pip install --system -e .
uv pip install --system pytest
- name: Run pytest
run: make test