Fix test input type: bug with email type solved (#270) #120
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Core CI/CD | |
on: | |
push: | |
branches: [ "dev" ] | |
paths: | |
- 'core/**' | |
- '!core/example/**' | |
pull_request: | |
branches: [ "dev" ] | |
paths: | |
- 'core/**' | |
- '!core/example/**' | |
defaults: | |
run: | |
working-directory: ./core | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.x' | |
channel: 'stable' | |
- name: Install lcov | |
run: sudo apt-get install lcov | |
- name: Getting packages | |
run: flutter packages get | |
- name: Analyzing | |
run: flutter analyze | |
- name: Running test | |
run: flutter test --coverage | |
- name: Coverage check | |
run: | | |
lcov --remove coverage/lcov.info '*.g.dart' '*.part.dart' '*/generated/*' -o coverage/lcov.info | |
../scripts/coverage_check.sh | |
- name: Pub points check | |
run: ../scripts/pub_points_check.sh |