Spaces:
Running
Running
Jeremiah Lowin commited on
Commit ·
4319ff4
1
Parent(s): d39a3f1
Update run-tests.yml
Browse files
.github/workflows/run-tests.yml
CHANGED
|
@@ -22,17 +22,15 @@ jobs:
|
|
| 22 |
steps:
|
| 23 |
- uses: actions/checkout@v4
|
| 24 |
|
| 25 |
-
- name:
|
| 26 |
-
uses:
|
| 27 |
-
with:
|
| 28 |
-
python-version: "3.12"
|
| 29 |
|
| 30 |
-
- name:
|
| 31 |
-
run:
|
| 32 |
|
| 33 |
- name: Install FastMCP
|
| 34 |
-
run: uv sync
|
| 35 |
|
| 36 |
- name: Run tests
|
| 37 |
-
run: pytest -n auto -vv
|
| 38 |
if: ${{ !(github.event.pull_request.head.repo.fork) }}
|
|
|
|
| 22 |
steps:
|
| 23 |
- uses: actions/checkout@v4
|
| 24 |
|
| 25 |
+
- name: Install uv
|
| 26 |
+
uses: astral-sh/setup-uv@v4
|
|
|
|
|
|
|
| 27 |
|
| 28 |
+
- name: Set up Python
|
| 29 |
+
run: uv python install 3.11
|
| 30 |
|
| 31 |
- name: Install FastMCP
|
| 32 |
+
run: uv sync --all-extras --dev
|
| 33 |
|
| 34 |
- name: Run tests
|
| 35 |
+
run: uv run pytest -n auto -vv
|
| 36 |
if: ${{ !(github.event.pull_request.head.repo.fork) }}
|