Skip to content

Commit 60fb5fe

Browse files
committed
Fix UV Python Package Install
1 parent 8f0b5ea commit 60fb5fe

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/patchright_tests.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,22 +50,21 @@ jobs:
5050
5151
- name: Install Local Patchright Package
5252
run: |
53-
cd playwright-python
54-
uv pip install dist/patchright-*-manylinux1_x86_64.whl
53+
uv pip install --python .venv/bin/python playwright-python/dist/patchright-*-manylinux1_x86_64.whl
5554
5655
- name: Install Chromium with Patchright
5756
run: |
58-
uv run patchright install --with-deps chromium
57+
uv run --no-sync patchright install --with-deps chromium
5958
6059
- name: Clone Playwright-Python Tests
6160
run: |
6261
cp -r playwright-python/tests ./tests
6362
6463
- name: Modify Tests
6564
run: |
66-
uv run utils/modify_tests.py
65+
uv run --no-sync utils/modify_tests.py
6766
6867
- name: Run Chromium Tests
6968
run: |
70-
xvfb-run -a uv run pytest --browser=chromium --disable-warnings --timeout 90 tests/sync/
71-
xvfb-run -a uv run pytest --browser=chromium --disable-warnings --timeout 90 tests/async/
69+
xvfb-run -a uv run --no-sync pytest --browser=chromium --disable-warnings --timeout 90 tests/sync/
70+
xvfb-run -a uv run --no-sync pytest --browser=chromium --disable-warnings --timeout 90 tests/async/

0 commit comments

Comments
 (0)