@@ -29,22 +29,22 @@ jobs:
2929 with :
3030 generate-branches-badge : true
3131 jacoco-csv-file : build/reports/jacoco/test/jacocoTestReport.csv
32- #
33- # - name: "Log coverage percentage"
34- # run: |
35- # echo "coverage = ${{ steps.jacoco.outputs.coverage }}"
36- # echo "branch coverage = ${{ steps.jacoco.outputs.branches }}"
37- # - name: "Commit the JaCoCo badge (if it changed)"
38- # run: |
39- # if [[ `git status --porcelain` ]]; then
40- # git config --global user.name 'Jacoco Coverage Update Action'
41- # git config --global user.email '[email protected] '42- # git add -A
43- # git commit -m "Autogenerated JaCoCo coverage badge"
44- # git push
45- # fi
46- # - name: "Upload JaCoCo coverage report"
47- # uses: actions/upload-artifact@v2
48- # with:
49- # name: jacoco-report
50- # path: target/site /jacoco/
32+
33+ - name : " Log coverage percentage"
34+ run : |
35+ echo "coverage = ${{ steps.jacoco.outputs.coverage }}"
36+ echo "branch coverage = ${{ steps.jacoco.outputs.branches }}"
37+ - name : " Commit the JaCoCo badge (if it changed)"
38+ run : |
39+ if [[ `git status --porcelain` ]]; then
40+ git config --global user.name 'Jacoco Coverage Update Action'
41+ git config --global user.email '[email protected] ' 42+ git add -A
43+ git commit -m "Autogenerated JaCoCo coverage badge"
44+ git push
45+ fi
46+ - name : " Upload JaCoCo coverage report"
47+ uses : actions/upload-artifact@v2
48+ with :
49+ name : jacoco-report
50+ path : build/reports /jacoco/test/html /
0 commit comments