Set up multiple os tests

This commit is contained in:
Jeremiah Lowin 2024-12-02 19:43:12 -05:00
commit 10e2db7c0c

View file

@ -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