Skip to content

Commit 29b9ef6

Browse files
committed
updated github actions codacy
1 parent 78815ac commit 29b9ef6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/python-package.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
(matrix.python-version == '3.13' || matrix.python-version == '3.14')}}
4343
run: |
4444
coverage run -m pytest --disable-warnings -p no:warnings test
45+
coverage xml
4546
- name: Coveralls
4647
if: startsWith(matrix.os, 'ubuntu') && endsWith(matrix.python-version, '3.14')
4748
uses: coverallsapp/github-action@v2
@@ -90,3 +91,14 @@ jobs:
9091
uses: AndreMiras/coveralls-python-action@develop
9192
with:
9293
parallel-finished: true
94+
95+
codacy-coverage-reporter:
96+
runs-on: ubuntu-latest
97+
name: codacy-coverage-reporter
98+
steps:
99+
- uses: actions/checkout@v2
100+
- name: Run codacy-coverage-reporter
101+
uses: codacy/codacy-coverage-reporter-action@v1.3.0
102+
with:
103+
api-token: ${{ secrets.CODACY_API_TOKEN }}
104+
coverage-reports: coverage.xml

0 commit comments

Comments
 (0)