mirror of
https://github.com/snowykami/mbcp.git
synced 2024-11-22 06:07:37 +08:00
🔥 测试工作流
This commit is contained in:
parent
faede177e4
commit
a767f27c0f
4
.github/workflows/pytest.yml
vendored
4
.github/workflows/pytest.yml
vendored
@ -26,12 +26,12 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pdm
|
||||
python -m pip install pdm
|
||||
pdm install
|
||||
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
python -m pytest
|
||||
pdm run pytest --junitxml=report/report.xml --html=report/report.html
|
||||
|
||||
- name: Archive Pytest test report
|
||||
uses: actions/upload-artifact@v3
|
||||
|
Loading…
Reference in New Issue
Block a user