Skip to content

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

Set up multiple os tests

Jeremiah Lowin10e2db7c0ce1
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
index 452fc63d1..bc766999c 100644
--- a/.github/workflows/run-tests.yml
+++ b/.github/workflows/run-tests.yml
@@ -26,8 +26,13 @@ permissions:
jobs:
run_tests:
- name: Run tests
- runs-on: ubuntu-latest
+ name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ubuntu-latest, windows-latest, macos-latest]
+ python-version: ["3.10"]
+ fail-fast: false
steps:
- uses: actions/checkout@v4
@@ -35,8 +40,8 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v4
- - name: Set up Python
- run: uv python install 3.11
+ - name: Set up Python ${{ matrix.python-version }}
+ run: uv python install ${{ matrix.python-version }}
- name: Install FastMCP
run: uv sync --extra dev