File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,10 +71,10 @@ jobs:
7171 run : |
7272 pytest
7373
74- - name : Gather Badge data
74+ - name : Gather Badge Data
7575 if : github.ref_name == 'main' && github.event_name == 'push'
7676 run : |
77- coverage run -m pytest
77+ coverage run -m pytest -s
7878 coverage report -m
7979
8080 - name : Checkout badges
8484 ref : badges
8585 path : badges
8686
87- - name : Coverage Badge
87+ - name : Create Coverage Badge
8888 if : github.ref_name == 'main' && github.event_name == 'push'
8989 uses : tj-actions/coverage-badge-py@782bdaaa8b2e37612e6b6fac5e559e5544e6eef2 # pin@v2
9090 with :
9797 if [[ -n "$(git status --porcelain)" ]]; then
9898 git config --local user.email "action@github.com"
9999 git config --local user.name "GitHub Action"
100- git add "${{ matrix.module }}/*"
101- git commit -m "Update ${{ matrix.module }} badge"
100+ git add .
101+ git commit -m "Update coverage badge"
102102 fi
103103
104104 - name : Push badge commit
You can’t perform that action at this time.
0 commit comments