Skip to content

Commit

Permalink
Update ci.yml to havr 79.7 % on Integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
OrShamirCM authored Nov 5, 2024
1 parent 060fb18 commit 67d5a43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
shell: bash
run: |
CODE_COV=$(go tool cover -func cover.out | grep total | awk '{print substr($3, 1, length($3)-1)}')
EXPECTED_CODE_COV=79.9
EXPECTED_CODE_COV=79.7
var=$(awk 'BEGIN{ print "'$CODE_COV'"<"'$EXPECTED_CODE_COV'" }')
if [ "$var" -eq 1 ];then
echo "Your code coverage is too low. Coverage precentage is: $CODE_COV"
Expand Down Expand Up @@ -171,4 +171,4 @@ jobs:
- name: Inspect action report
if: always()
shell: bash
run: cat ./trivy-image-results.txt
run: cat ./trivy-image-results.txt

0 comments on commit 67d5a43

Please sign in to comment.