We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a85f65 commit 308a01cCopy full SHA for 308a01c
.github/workflows/ci.yaml
@@ -72,4 +72,10 @@ jobs:
72
run: echo "PYTHONPATH=$PWD" >> $GITHUB_ENV
73
74
- name: Run tests
75
- run: pdm run pytest tests --cov=asgi_monitor --cov-append --cov-report term-missing -v
+ run: pdm run pytest tests --cov=asgi_monitor --junitxml=pytest.xml | tee pytest-coverage.txt; exit ${PIPESTATUS[0]}
76
+
77
+ - name: Test coverage comment
78
+ uses: MishaKav/pytest-coverage-comment@main
79
+ with:
80
+ pytest-coverage-path: ./pytest-coverage.txt
81
+ junitxml-path: ./pytest.xml
.gitignore
@@ -35,6 +35,8 @@ htmlcov/
35
.cache
36
nosetests.xml
37
coverage.xml
38
+pytest.xml
39
+pytest-coverage.txt
40
*.cover
41
*.py,cover
42
.hypothesis/
0 commit comments