Skip to content

Update return_instruction_root verbosity #13

Update return_instruction_root verbosity

Update return_instruction_root verbosity #13

Workflow file for this run

name: Code Quality
on:
push:
branches: [ "main", "migration/port-agent-foundation" ]
paths:
- 'src/**'
- 'tests/**'
- 'pyproject.toml'
- 'uv.lock'
pull_request:
branches: [ "main" ]
paths:
- 'src/**'
- 'tests/**'
- 'pyproject.toml'
- 'uv.lock'
workflow_call: # Allow other workflows to call this
jobs:
test:
name: Lint & Test (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.13']
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --locked
- name: Run Ruff formatting check
run: uv run ruff format --check
- name: Run Ruff linting
run: uv run ruff check --output-format=github
- name: Run MyPy type checking
run: uv run mypy .
- name: Run pytest with coverage
run: uv run pytest --cov=src --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
fail_ci_if_error: false