Merge pull request #586 from micropyramid-dev/fix/coverage-badge
fix: replace coverage-badge with genbadge for CI badge generation
This commit is contained in:
commit
e6933e80a4
1 changed files with 2 additions and 2 deletions
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
|
@ -60,8 +60,8 @@ jobs:
|
|||
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
|
||||
working-directory: backend
|
||||
run: |
|
||||
pip install coverage-badge
|
||||
coverage-badge -o ../coverage-badge.svg -f
|
||||
pip install "genbadge[coverage]"
|
||||
genbadge coverage -i coverage.xml -o ../coverage-badge.svg
|
||||
|
||||
- name: Commit coverage badge
|
||||
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
|
||||
|
|
|
|||
Loading…
Reference in a new issue