uv-pytest.yml•600 B
on:
push:
branches: [master]
paths:
- "**.py"
- "pyproject.toml"
- "uv.lock"
pull_request:
types: [opened, synchronize, reopened, edited, labeled, unlabeled]
permissions:
contents: read
name: pytest
jobs:
uv-pytest:
name: python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install the project
run: uv sync --all-groups
- name: Run tests using pytest
run: MCP_SERVER_TRANSPORT=streamable-http uv run --group test pytest tests/