File tree 3 files changed +5
-8
lines changed
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
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - feat/CS-36689-compare-merge-branch
7
5
8
6
jobs :
9
7
build-and-test :
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ name: Java CI with JaCoCo
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - feat/CS-36689-compare-merge-branch
7
5
8
6
jobs :
9
7
build-and-test :
31
29
total_missed=${total_missed:-0}
32
30
total_percentage=$(awk "BEGIN { pc=100*${total_lines}/(${total_lines}+${total_missed}) } { printf \"%f\", pc }")
33
31
echo "Total Coverage Percentage: $total_percentage"
34
- if (( $(bc <<< "$total_percentage < 60 .0") )); then
32
+ if (( $(bc <<< "$total_percentage < 70 .0") )); then
35
33
echo "Code Coverage is below 80% - failing the CI build."
36
34
exit 1
37
35
else
Original file line number Diff line number Diff line change 1
1
name : Publish package to the Maven Central Repository
2
+
2
3
on :
3
- push :
4
- branches :
5
- - feat/CS-36689-compare-merge-branch
4
+ release :
5
+ types :
6
+ - created
6
7
jobs :
7
8
publish-maven :
8
9
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments