Skip to content

Commit b116502

Browse files
authored
devops: only install required OS dependencies (microsoft#1342)
1 parent d280b93 commit b116502

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
pip install -r local-requirements.txt
9191
pip install -e .
9292
python setup.py bdist_wheel
93-
python -m playwright install --with-deps
93+
python -m playwright install --with-deps ${{ matrix.browser }}
9494
- name: Common Tests
9595
run: pytest tests/common --browser=${{ matrix.browser }} --timeout 90
9696
- name: Test Reference count

tests/test_reference_count_async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323

2424

2525
@pytest.mark.asyncio
26-
async def test_memory_objects(server: Server) -> None:
26+
async def test_memory_objects(server: Server, browser_name: str) -> None:
2727
async with async_playwright() as p:
28-
browser = await p.chromium.launch()
28+
browser = await p[browser_name].launch()
2929
page = await browser.new_page()
3030
await page.goto(server.EMPTY_PAGE)
3131

0 commit comments

Comments
 (0)