mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
change to use codecov for coverage report
This commit is contained in:
parent
632fac7809
commit
afeb520433
1 changed files with 3 additions and 7 deletions
10
.github/workflows/test.yaml
vendored
10
.github/workflows/test.yaml
vendored
|
@ -58,13 +58,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cat flake8.output | reviewdog -reporter=github-pr-check -f=flake8 -name="flake8"
|
cat flake8.output | reviewdog -reporter=github-pr-check -f=flake8 -name="flake8"
|
||||||
|
|
||||||
- name: Publish Coverage to PR
|
- name: Upload coverage
|
||||||
uses: 5monkeys/cobertura-action@v8
|
uses: codecov/codecov-action@v1
|
||||||
if: ${{ env.PR_TRIGGERED == 'true' && matrix.py_version == '3.9' }}
|
if: ${{ matrix.py_version == '3.9' }}
|
||||||
with:
|
|
||||||
path: coverage.xml
|
|
||||||
repo_token: ${{ secrets.JF_BOT_TOKEN }}
|
|
||||||
minimum_coverage: 1
|
|
||||||
|
|
||||||
- name: Publish Test Atrifact
|
- name: Publish Test Atrifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|
Loading…
Reference in a new issue