Skip to content

Commit 8e7fc75

Browse files
committed
ci: fix coverage badge
1 parent 1a445d1 commit 8e7fc75

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/coverage-badge.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ jobs:
1010
update-badge:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v6
13+
- name: Checkout
14+
uses: actions/checkout@v6
1415
with:
1516
persist-credentials: false
1617
fetch-depth: 0
18+
submodules: true
1719

1820
- name: Set up Python
1921
uses: astral-sh/setup-uv@v7
@@ -26,7 +28,7 @@ jobs:
2628
- name: Run Tests
2729
run: uv run pytest --slow --cov=. --cov-report=xml:coverage.xml
2830

29-
- name: Coverage comment
31+
- name: Coverage Comment
3032
id: coverage
3133
uses: MishaKav/pytest-coverage-comment@v1.2.0
3234
with:
@@ -38,7 +40,7 @@ jobs:
3840
run: |
3941
sed -i '/<!-- Pytest Coverage Comment:Begin -->/,/<!-- Pytest Coverage Comment:End -->/c\<!-- Pytest Coverage Comment:Begin -->\n${{ steps.coverage.outputs.coverageHtml }}\n<!-- Pytest Coverage Comment:End -->' ./README.md
4042
41-
- name: Commit changes
43+
- name: Commit Changes
4244
uses: stefanzweifel/git-auto-commit-action@v7
4345
with:
4446
commit_message: "docs: update coverage badge"

0 commit comments

Comments
 (0)