File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 id : jacoco
3131 uses : cicirello/jacoco-badge-generator@v2
3232 with :
33- badges-directory : badges
33+ badges-directory : .github/ badges
3434 generate-branches-badge : true
3535 generate-summary : true
3636
4848 - name : Commit and push the coverage badges and summary file
4949 if : ${{ github.event_name != 'pull_request' }}
5050 run : |
51- cd badges
51+ cd .github/ badges
5252 if [[ `git status --porcelain *.svg *.json` ]]; then
5353 git config --global user.name 'github-actions'
5454 git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
6060 - name : Comment on PR with coverage percentages
6161 if : ${{ github.event_name == 'pull_request' }}
6262 run : |
63- REPORT=$(<badges/coverage-summary.json)
63+ REPORT=$(<.github/ badges/coverage-summary.json)
6464 COVERAGE=$(jq -r '.coverage' <<< "$REPORT")%
6565 BRANCHES=$(jq -r '.branches' <<< "$REPORT")%
6666 NEWLINE=$'\n'
You can’t perform that action at this time.
0 commit comments