Skip to content

Commit 93f932c

Browse files
authored
Merge pull request #191 from MaRDI4NFDI/test-new-code-coverage
Update GitHub Actions for code coverage
2 parents d269a08 + 2a20fe6 commit 93f932c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111

1212
permissions:
1313
contents: read
14+
id-token: write # IMPORTANT for code coverage action
1415
env:
1516
OAI_BASIC_PASSWORD: ${{ secrets.OAI_BASIC_PASSWORD }}
1617

@@ -39,3 +40,7 @@ jobs:
3940
run: |
4041
coverage run -m pytest
4142
coverage report -m
43+
- uses: qltysh/qlty-action/coverage@v2
44+
with:
45+
oidc: true
46+
files: coverage/lcov.info

0 commit comments

Comments
 (0)