Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Update run-tests.yml

Jeremiah Lowinba6fd6afd601
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
index 026702515..4d7985b96 100644
--- a/.github/workflows/run-tests.yml
+++ b/.github/workflows/run-tests.yml
@@ -22,17 +22,15 @@ jobs:
steps:
- uses: actions/checkout@v4
- - name: Set up Python 3.12
- uses: actions/setup-python@v5
- with:
- python-version: "3.12"
+ - name: Install uv
+ uses: astral-sh/setup-uv@v4
- - name: download uv
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
+ - name: Set up Python
+ run: uv python install 3.11
- name: Install FastMCP
- run: uv sync
+ run: uv sync --all-extras --dev
- name: Run tests
- run: pytest -n auto -vv -s
+ run: uv run pytest -n auto -vv
if: ${{ !(github.event.pull_request.head.repo.fork) }}