Fixes/UI fixes v2 #115
Workflow file for this run
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: Admin CI/CD | |
on: | |
push: | |
branches: [ "dev" ] | |
paths: | |
- 'admin/**' | |
pull_request: | |
branches: [ "dev" ] | |
paths: | |
- 'admin/**' | |
defaults: | |
run: | |
working-directory: ./admin | |
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 |