mirror of
https://github.com/snowykami/mbcp.git
synced 2024-11-22 14:17:38 +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
|
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user