mirror of
https://github.com/snowykami/mbcp.git
synced 2024-11-25 07:45:03 +08:00
🔥 测试工作流
This commit is contained in:
parent
e973705cde
commit
4b2eedbc78
12
.github/workflows/pytest.yml
vendored
12
.github/workflows/pytest.yml
vendored
@ -24,14 +24,4 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- name: 运行测试
|
- name: 运行测试
|
||||||
run: pytest
|
run: python -m pytest
|
||||||
|
|
||||||
- name: 生成测试报告
|
|
||||||
run: |-
|
|
||||||
pytest --cov-report=xml
|
|
||||||
|
|
||||||
- name: 上传测试报告
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: coverage
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user