Skip to content

Commit

Permalink
[#420] [NF] India Localization. Correct coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
lyskouski committed Dec 19, 2023
1 parent 817b753 commit de54e35
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/bind_reports_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ jobs:
run: |
flutter pub get
dart run grinder test --coverage
COVERAGE=$(dart run test_cov_console --file="./coverage/lcov.info" --total)
COVERAGE=$(dart run test_cov_console --file="./coverage/lcov.info" --total | tr -d '[:space:]')
curl -vLJO -H 'Accept: application/octet-stream' "https://lyskouski.github.io/app-finance/coverage/test_total.log"
MAIN_COVERAGE=$(cat test_total.log)
MAIN_COVERAGE=$(cat test_total.log | tr -d '[:space:]')
echo "Main branch coverage: $MAIN_COVERAGE %"
echo "Current branch coverage: $COVERAGE %"
DELTA=$(echo "$COVERAGE - $MAIN_COVERAGE" | bc)
echo "DELTA_COVERAGE=${DELTA}" >> $GITHUB_ENV
Expand All @@ -53,7 +55,7 @@ jobs:
|------|------|
| Dependencies Graph | [dependencies.svg](${{ env.ARTIFACT_URL }}) |
Coverage: ${{ env.DELTA_COVERAGE }}%
Coverage delta: ${{ env.DELTA_COVERAGE }}%
with:
script: |
github.rest.issues.createComment({
Expand Down

0 comments on commit de54e35

Please sign in to comment.