Skip to content

Commit 337aaad

Browse files
committed
fix ci
1 parent 4eced71 commit 337aaad

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,10 @@ jobs:
2020
- name: Set UV_HTTP_TIMEOUT
2121
run: echo "UV_HTTP_TIMEOUT=120" >> $GITHUB_ENV
2222
- name: Install project dependencies
23-
run: uv sync
24-
- name: Ensure all dependencies (including test/dev) are installed
25-
run: uv sync --dev
26-
- name: Install test dependencies (force ensure)
27-
run: uv pip install pytest pytest-asyncio pytest-cov coverage pytest-rerunfailures
28-
- name: Install Pl
29-
echo 'PW_CHROMIUM_ARGS=--no-sandbox' >> $GITHUB_ENVaywright browsers
23+
run: uv sync --all-extras
24+
- name: Install Playwright browsers
3025
run: |
26+
echo 'PW_CHROMIUM_ARGS=--no-sandbox' >> $GITHUB_ENV
3127
uv run playwright install --with-deps chromium
3228
- name: Run tests with coverage
3329
run: uv run python -m pytest --cov=browser_fastmcp_server.py --cov=main.py --cov-report=xml --cov-report=term --reruns 10 --reruns-delay 10 test_browser_fastmcp_client.py test_browser_test.py test_browser_workflow_test.py

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ dev = [
2020
"pytest",
2121
"pytest-asyncio",
2222
"pytest-cov",
23-
"coverage"
23+
"coverage",
24+
"pytest-rerunfailures"
2425
]
2526

2627
[[tool.uv.index]]

0 commit comments

Comments
 (0)