File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
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 :
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"
You can’t perform that action at this time.
0 commit comments