Skip to content

Commit

Permalink
cicd: what version is this
Browse files Browse the repository at this point in the history
  • Loading branch information
zostay committed Jan 16, 2024
1 parent fece13e commit c80b8e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
REQUIRED_COVERAGE: 80
shell: bash
run: |
bash --version
totalCoverage=$(go tool cover -func=coverage.out | grep total | grep -Eo '[0-9]+\.[0-9]+')
echo "Total Coverage: $totalCoverage %"
if (( $totalCoverage < $REQUIRED_COVERAGE )); then
Expand Down

0 comments on commit c80b8e1

Please sign in to comment.