Skip to content

[BUG] register list_handles and release_handle tools in server.py (#66) #47

[BUG] register list_handles and release_handle tools in server.py (#66)

[BUG] register list_handles and release_handle tools in server.py (#66) #47

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
- name: Install dev dependencies
run: pip install -e ".[dev]"
- name: Run ruff check
run: ruff check .
- name: Run ruff format
run: ruff format --check .
test:
name: Test (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Run tests
run: pytest tests/