File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ name: Java CI with Code Coverage
22
33on :
44 push :
5- branches :
6- - feat/CS-36689-compare-merge-branch
75
86jobs :
97 build-and-test :
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ name: Java CI with JaCoCo
22
33on :
44 push :
5- branches :
6- - feat/CS-36689-compare-merge-branch
75
86jobs :
97 build-and-test :
3129 total_missed=${total_missed:-0}
3230 total_percentage=$(awk "BEGIN { pc=100*${total_lines}/(${total_lines}+${total_missed}) } { printf \"%f\", pc }")
3331 echo "Total Coverage Percentage: $total_percentage"
34- if (( $(bc <<< "$total_percentage < 60 .0") )); then
32+ if (( $(bc <<< "$total_percentage < 70 .0") )); then
3533 echo "Code Coverage is below 80% - failing the CI build."
3634 exit 1
3735 else
Original file line number Diff line number Diff line change 11name : Publish package to the Maven Central Repository
2+
23on :
3- push :
4- branches :
5- - feat/CS-36689-compare-merge-branch
4+ release :
5+ types :
6+ - created
67jobs :
78 publish-maven :
89 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments