change to use codecov for coverage report

This commit is contained in:
h1dden-da3m0n 2021-05-23 20:17:34 +02:00
parent 632fac7809
commit afeb520433
1 changed files with 3 additions and 7 deletions

View File

@ -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