Skip to content

Commit d2dcf2e

Browse files
committed
ci: fix badge generation
Signed-off-by: GRBurst <GRBurst@protonmail.com>
1 parent d26b47d commit d2dcf2e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
@@ -84,7 +84,7 @@ jobs:
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:
@@ -97,8 +97,8 @@ jobs:
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

0 commit comments

Comments
 (0)