Skip to content

Commit

Permalink
chore: fix parameters on github actions coverage check
Browse files Browse the repository at this point in the history
  • Loading branch information
aitorres committed Dec 30, 2024
1 parent 6f44a89 commit 5b38d6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
- name: Run tests
run: flutter test --coverage --reporter expanded
- name: Print coverage information
run: dart run test_cov_console --coverage coverage/lcov.info
run: dart run test_cov_console --file=coverage/lcov.info
- name: Ensure test coverage is at least 65%
run: |
result=$(dart run test_cov_console --coverage coverage/lcov.info --pass=65)
result=$(dart run test_cov_console --file=coverage/lcov.info --pass=65)
echo $result
if [ "$result" = "PASSED" ]; then
exit 0
Expand Down

0 comments on commit 5b38d6a

Please sign in to comment.