🔥 测试工作流

This commit is contained in:
远野千束 2024-08-28 04:43:07 +08:00
parent faede177e4
commit a767f27c0f

View File

@ -26,12 +26,12 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install pdm python -m pip install pdm
pdm install pdm install
- name: Test with pytest - name: Test with pytest
run: | run: |
python -m pytest pdm run pytest --junitxml=report/report.xml --html=report/report.html
- name: Archive Pytest test report - name: Archive Pytest test report
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3