Skip to content

Commit

Permalink
chore: remove codecov, use built-in github actions check to ensure co…
Browse files Browse the repository at this point in the history
…verage percentage
  • Loading branch information
aitorres committed Dec 30, 2024
1 parent 7b0de08 commit ff66bfb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,14 @@ jobs:
run: dart format -o show --set-exit-if-changed .
- name: Run tests
run: flutter test --coverage --reporter expanded
- name: Upload coverage to codecov
uses: codecov/codecov-action@v2
with:
files: coverage/lcov.info
fail_ci_if_error: true
verbose: true
- name: Print coverage information
run: dart run test_cov_console --coverage coverage/lcov.info
- name: Ensure test coverage is at least 65%
run: |
result=$(dart run test_cov_console --coverage coverage/lcov.info --pass=65)
echo $result
if [ "$result" = "PASSED" ]; then
exit 0
else
exit 1
fi
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# feathr

![Tests badge](https://github.com/feathr-space/feathr/actions/workflows/push.yaml/badge.svg)
[![codecov badge](https://codecov.io/gh/feathr-space/feathr/branch/main/graph/badge.svg?token=G14ONBBN6Z)](https://codecov.io/gh/feathr-space/feathr)

<p align="center">
<img width="128" height="128" src="https://raw.githubusercontent.com/feathr-space/feathr/main/assets/images/feathr-icon.png">
Expand Down

0 comments on commit ff66bfb

Please sign in to comment.