Skip to content

Commit

Permalink
👷 Remove codecov integration and produce reports instead
Browse files Browse the repository at this point in the history
  • Loading branch information
azogue committed Mar 10, 2024
1 parent 932dd84 commit 7f8300d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ jobs:
run: poetry install --no-interaction

- name: Run tests
run: poetry run pytest
run: poetry run pytest --cov-report xml:coverage.xml

# upload coverage only on master branch
- name: Upload coverage
if: ${{ github.ref == 'refs/heads/master' }}
uses: codecov/codecov-action@v2
- name: Get Cover
uses: orgoro/coverage@v3.1
with:
coverageFile: coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}

# publish version only when pyproject.toml is changed in master
- name: Filter changes in pyproject
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[![PyPI Version][pypi-image]][pypi-url]
[![pre-commit.ci Status][pre-commit-ci-image]][pre-commit-ci-url]
[![Build Status][build-image]][build-url]
[![Code Coverage][coverage-image]][coverage-url]

<!-- Badges -->

Expand All @@ -11,8 +10,6 @@
[pre-commit-ci-url]: https://results.pre-commit.ci/latest/github/azogue/aiopvpc/master
[build-image]: https://github.com/azogue/aiopvpc/actions/workflows/main.yml/badge.svg
[build-url]: https://github.com/azogue/aiopvpc/actions/workflows/main.yml
[coverage-image]: https://codecov.io/gh/azogue/aiopvpc/branch/master/graph/badge.svg
[coverage-url]: https://codecov.io/gh/azogue/aiopvpc

# aiopvpc

Expand Down

0 comments on commit 7f8300d

Please sign in to comment.