Skip to content

Commit ebb1c7e

Browse files
fix(ci): remove broken coverage-badge step (#106)
* fix(ci): add Codecov token and branch coverage to test workflow - Add token: ${{ secrets.CODECOV_TOKEN }} to codecov-action step - Add --cov-branch to pytest for branch coverage reporting * chore: add coverage artifacts to gitignore and Codecov badge to README - Add .coverage, coverage.xml, coverage-badge.svg to .gitignore - Add Codecov coverage badge to README badge row * fix(ci): remove broken coverage-badge step, use Codecov badge instead coverage-badge depends on pkg_resources which was removed from setuptools>=71. Codecov already provides a hosted badge so this step is redundant.
1 parent 0cb6854 commit ebb1c7e

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

.github/workflows/test.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,6 @@ jobs:
7676
fail_ci_if_error: false
7777
verbose: true
7878

79-
- name: Generate coverage badge
80-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12' && github.ref == 'refs/heads/main'
81-
uses: tj-actions/coverage-badge-py@v2
82-
with:
83-
output: coverage-badge.svg
84-
8579
- name: Add coverage PR comment
8680
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12' && github.event_name == 'pull_request'
8781
uses: MishaKav/pytest-coverage-comment@main

0 commit comments

Comments
 (0)