Skip to content

Commit

Permalink
Fix coverage reporting as codecov v1 was removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
adiroiban committed Apr 11, 2022
1 parent a265267 commit 3eabae5
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,21 +126,12 @@ jobs:
python -m coverage xml -o coverage.xml -i
python -m coverage report --skip-covered
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v2
if: ${{ !cancelled() && contains(matrix['tox-env'], 'withcov') }}
with:
files: coverage.xml
name: lnx-${{ matrix.python-version }}-${{ matrix.tox-env }}${{ matrix.noipv6 }}
fail_ci_if_error: true
functionalities: gcov,search

- name: Publish to Coveralls
if: ${{ !cancelled() && contains(matrix['tox-env'], 'withcov') }}
continue-on-error: true
run: |
python -m coveralls -v
env:
COVERALLS_REPO_TOKEN: 'JFDTIRUVOQ8jCM3zcajrZALlpKXyiXGAX'

static-checks:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 3eabae5

Please sign in to comment.