From b8265d3c78d0c7ccd7a42f93ed1de299f48ebd98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=A7=E7=9E=B3?= <42377282+2061360308@users.noreply.github.com> Date: Thu, 14 Dec 2023 18:09:38 +0800 Subject: [PATCH] Update pytest.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加名为"Install pytest_html"的步骤,安装pytest_html模块 --- .github/workflows/pytest.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 35223ee..8c6e44d 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -22,6 +22,9 @@ jobs: python -m pip install --upgrade pip pip install pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Install pytest_html + run: | + pip install pytest_html - name: Run tests with pytest run: | - pytest \ No newline at end of file + pytest