Skip to content

Commit e34a05b

Browse files
author
Marat Akhmetov
committed
[DOP-23126] added basic pytest-coverage-comment
1 parent 31baf09 commit e34a05b

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,11 @@ jobs:
128128
coverage combine
129129
coverage xml -o reports/coverage.xml -i
130130
131-
- name: Check coverage
132-
uses: codecov/codecov-action@v5
131+
- name: Coverage comment
132+
uses: MishaKav/pytest-coverage-comment@main
133133
with:
134-
token: ${{ secrets.CODECOV_TOKEN }}
135-
files: ./reports/coverage.xml
136-
fail_ci_if_error: true
137-
plugins: noop
134+
pytest-xml-coverage-path: ./reports/coverage.xml
135+
report-only-changed-files: true
138136

139137
- name: All done
140138
run: echo 1

0 commit comments

Comments
 (0)