File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 1414 first_check :
1515 name : first code check / python-3.13 / ubuntu-latest
1616 runs-on : ubuntu-latest
17- permissions :
18- contents : write
1917 steps :
2018 - uses : actions/checkout@v4
2119 - name : Set up Python
4745
4846 - name : Run ruff linter
4947 run : ruff check --output-format=github
50-
51- - name : Create coverage badge (SVG)
52- run : |
53- python -m pip install --upgrade genbadge[coverage]
54- mkdir -p badges
55- genbadge coverage -i coverage.xml -o docs/badges/coverage.svg
56-
57- - name : Commit coverage badge on default branch
58- if : github.ref == 'refs/heads/main'
59- uses : stefanzweifel/git-auto-commit-action@v5
60- with :
61- commit_message : " ci: update coverage badge [skip ci]"
62- file_pattern : docs/badges/coverage.svg
You can’t perform that action at this time.
0 commit comments