Update run-tests.yml

This commit is contained in:
Jeremiah Lowin 2024-11-30 09:11:28 -05:00
commit ba6fd6afd6

View file

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