mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-05-31 16:16:11 +08:00
♻️ Install playwright before pytest
This commit is contained in:
parent
979f6b4cb2
commit
2645314899
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -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
|
||||
|
||||
|
3
.github/workflows/pyd1-compat.yml
vendored
3
.github/workflows/pyd1-compat.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user