From 264531489925fbf23e56d0f586ae39267e118c8e Mon Sep 17 00:00:00 2001 From: suyiiyii Date: Mon, 23 Dec 2024 00:51:34 +0800 Subject: [PATCH] :recycle: Install playwright before pytest --- .github/workflows/main.yml | 6 ++++++ .github/workflows/pyd1-compat.yml | 3 +++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4e6682c..50f6427 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/.github/workflows/pyd1-compat.yml b/.github/workflows/pyd1-compat.yml index 4f9dc07..648c9ea 100644 --- a/.github/workflows/pyd1-compat.yml +++ b/.github/workflows/pyd1-compat.yml @@ -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