Skip to content

refactor: simplify remote connections design and improve agent card handling #162

refactor: simplify remote connections design and improve agent card handling

refactor: simplify remote connections design and improve agent card handling #162

Workflow file for this run

name: Python Linting & Unit Tests
permissions:
contents: read
on:
push:
branches: [ 'main' ]
paths:
- 'python/**'
pull_request:
branches: [ '*' ]
paths:
- 'python/**'
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./python
steps:
- uses: actions/checkout@v4
- name: Install Ruff
uses: astral-sh/ruff-action@v3
- name: Ruff Format
run: ruff format --check --config ./pyproject.toml .
- name: Ruff Lint
run: ruff check --config ./pyproject.toml .
unit_test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./python
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version-file: "./python/pyproject.toml"
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Run tests
run: uv run pytest