Merge branch 'main' into profile-page #127
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: Flutter App Testing CI | |
on: push | |
jobs: | |
flutter-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Flutter SDK | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: stable | |
cache: true | |
- name: Install Flutter dependencies | |
run: | | |
flutter config --no-analytics --no-cli-animations | |
flutter --version | |
flutter pub get | |
- name: Check code formatting | |
run: | | |
dart format --output=none --set-exit-if-changed . | |
- name: Check for code errors | |
run: | | |
flutter analyze | |
- name: Flutter testing | |
run: | | |
dart pub global activate dlcov | |
dlcov gen-refs | |
flutter test --coverage -r github test | |
dlcov -c 80 --exclude-files "*.g.dart,*firebase_options.dart" |