From 61b4bd65d6cd7f74111345ef1118ce39c9b1c82f Mon Sep 17 00:00:00 2001 From: snowy Date: Wed, 28 Aug 2024 04:33:14 +0800 Subject: [PATCH] =?UTF-8?q?:fire:=20=E6=B5=8B=E8=AF=95=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pytest.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index a7a6c49..6ac11b4 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -18,16 +18,15 @@ jobs: - name: 安装依赖 run: |- python -m pip install pdm - pdm install --no-verbose + pdm install + pip install pytest==8.3.2 - name: 运行测试 - run: |- - pdm run pytest + run: pytest - name: 生成测试报告 run: |- - pdm run pytest --cov-report=xml - pdm run coverage xml + pytest --cov-report=xml - name: 上传测试报告 uses: actions/upload-artifact@v2