mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-23 22:14:18 +02:00
Update windows tests
This commit is contained in:
parent
915f66a425
commit
6ab5633803
2 changed files with 6 additions and 13 deletions
6
.github/workflows/run-static.yml
vendored
6
.github/workflows/run-static.yml
vendored
|
|
@ -28,9 +28,3 @@ jobs:
|
|||
python-version: "3.12"
|
||||
- name: Run pre-commit
|
||||
uses: pre-commit/action@v3.0.1
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install ".[tests]"
|
||||
- name: Run pyright
|
||||
run: pyright src tests
|
||||
|
|
|
|||
13
.github/workflows/run-tests.yml
vendored
13
.github/workflows/run-tests.yml
vendored
|
|
@ -34,13 +34,6 @@ jobs:
|
|||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
python-version: ["3.10"]
|
||||
# Use Python 3.11 for Windows to avoid the AttributeError with pyreadline in Python 3.10
|
||||
exclude:
|
||||
- os: windows-latest
|
||||
python-version: "3.10"
|
||||
include:
|
||||
- os: windows-latest
|
||||
python-version: "3.11"
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
|
|
@ -55,6 +48,12 @@ jobs:
|
|||
- name: Install FastMCP
|
||||
run: uv sync
|
||||
|
||||
- name: Fix pyreadline on Windows
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: |
|
||||
uv pip uninstall -y pyreadline
|
||||
uv pip install pyreadline3
|
||||
|
||||
- name: Run tests
|
||||
run: uv run pytest -vv
|
||||
if: ${{ !(github.event.pull_request.head.repo.fork) }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue