-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (23 loc) · 872 Bytes
/
test.yml
File metadata and controls
26 lines (23 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: test
on: [push, pull_request, workflow_call]
jobs:
server:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- run: uv run --python ${{ matrix.python-version }} --with pytest --isolated python -m pytest tests/test_server.py -q
mcp:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- run: uv run --python ${{ matrix.python-version }} --extra mcp --with pytest --isolated python -m pytest tests/test_mcp.py -q