Skip to content

Commit a69d209

Browse files
authored
Testing new coverage tool
1 parent 992845d commit a69d209

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/pytest-coverage.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
coverage:
1515
name: PyTest coverage
1616
runs-on: ubuntu-latest
17+
permissions:
18+
pull-requests: write
19+
contents: write
1720
steps:
1821
- uses: actions/checkout@v4
1922
- name: Install python
@@ -29,7 +32,6 @@ jobs:
2932
- name: Run Coverage
3033
run: $POETRY run coverage xml
3134
- name: Get Cover
32-
uses: orgoro/coverage@v3.1
35+
uses: py-cov-action/python-coverage-comment-action@v3
3336
with:
34-
coverageFile: ./coverage.xml
35-
token: ${{ secrets.GITHUB_TOKEN }}
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)