Update pytest.yml

添加名为"Install pytest_html"的步骤,安装pytest_html模块
This commit is contained in:
盧瞳 2023-12-14 18:09:38 +08:00 committed by GitHub
parent 3227ba3269
commit b8265d3c78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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