chore(ci): add code coverage report
This commit is contained in:
parent
909c2fa00b
commit
ba5a39d341
|
|
@ -22,8 +22,15 @@ jobs:
|
|||
channel: "stable"
|
||||
cache: true
|
||||
|
||||
- name: Run Flutter Test
|
||||
run: flutter test
|
||||
- name: Run Flutter Test Coverage
|
||||
run: flutter test --coverage
|
||||
|
||||
- name: Upload Coverage to Codecov
|
||||
if: github.event_name == 'push'
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
files: ./coverage/lcov.info
|
||||
fail_ci_if_error: true
|
||||
|
||||
lint:
|
||||
name: Lint
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
# flutter_card_swiper
|
||||
|
||||
[](https://pub.dev/packages/flutter_card_swiper)
|
||||
[](https://pub.dev/packages/flutter_card_swiper)
|
||||
[](https://pub.dev/packages/flutter_card_swiper)
|
||||
[](https://pub.dev/packages/flutter_card_swiper)
|
||||
[](https://pub.dev/packages/flutter_card_swiper)
|
||||
[](https://github.com/ricardodalarme/flutter_card_swiper/blob/main/LICENSE)
|
||||
[](https://github.com/ricardodalarme/flutter_card_swiper/actions/workflows/code-check.yml)
|
||||
[](https://codecov.io/gh/ricardodalarme/flutter_card_swiper)
|
||||
|
||||
This is a Flutter package for a Tinder-like card swiper. ✨
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue