refactor: simplify remote connections design and improve agent card handling #162
Workflow file for this run
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: 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 | |