Skip to content

Commit 00e25ad

Browse files
committed
ci: try fix pr coverage
1 parent 72be776 commit 00e25ad

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,12 @@ jobs:
8888
- name: Run tests
8989
run: pdm run pytest tests --cov=asgi_monitor --junitxml=junitxml.xml --cov-report "xml:coverage.xml"; exit ${PIPESTATUS[0]}
9090

91-
# - name: Test coverage comment
92-
# uses: MishaKav/pytest-coverage-comment@main
93-
# with:
94-
# pytest-xml-coverage-path: ./coverage.xml
95-
# junitxml-path: ./junitxml.xml
96-
# junitxml-title: ${{ matrix.python-version }}
97-
# unique-id-for-comment: ${{ matrix.python-version }}
98-
# report-only-changed-files: true
91+
- name: Test coverage comment
92+
uses: MishaKav/pytest-coverage-comment@main
93+
with:
94+
token: ${{ secrets.GITHUB_TOKEN }}
95+
pytest-xml-coverage-path: ./coverage.xml
96+
junitxml-path: ./junitxml.xml
97+
junitxml-title: ${{ matrix.python-version }}
98+
unique-id-for-comment: ${{ matrix.python-version }}
99+
report-only-changed-files: true

0 commit comments

Comments
 (0)