♻️ Install playwright before pytest

This commit is contained in:
suyiiyii 2024-12-23 00:51:34 +08:00
parent 979f6b4cb2
commit 2645314899
Signed by: suyiiyii
GPG Key ID: 044704CB29B8AD85
2 changed files with 9 additions and 0 deletions

View File

@ -74,6 +74,9 @@ jobs:
python-version: ${{ matrix.python-version }}
install-deps: "true"
- name: Install playwright
run: uv run playwright install
- name: Run Pytest
run: uv run pytest --cov-report xml --cov=./nonebot_bison -k 'not compare and not render' -n auto
@ -106,6 +109,9 @@ jobs:
python-version: ${{ matrix.python-version }}
install-deps: "true"
- name: Install playwright
run: uv run playwright install
- name: Run Pytest
run: uv run pytest --cov-report xml --cov=./nonebot_bison -k 'not compare' -n auto

View File

@ -57,5 +57,8 @@ jobs:
- name: Install prerequisites
run: uv add pydantic==1.10 && uv sync --frozen
- name: Install playwright
run: uv run playwright install
- name: Run Pytest
run: uv run pytest -k 'not compare and not render' -n auto