Added a controller for the [SmartFaceCamera] widget. #25
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: DEV_CI | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
Test_and_build: | |
name: Run flutter test and analyze | |
runs-on: ubuntu-latest | |
steps: | |
# Setup Java environment in order to build the Android app. | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'zulu' | |
java-version: '12.x' | |
java-package: jdk | |
# Setup the flutter environment. | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' # 'dev', 'alpha', default to: 'stable' | |
flutter-version: '3.22.1' # you can also specify exact version of flutter | |
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603 | |
- name: Install dependencies | |
run: dart pub get | |
# Uncomment this step to verify the use of 'dart format' on each commit. | |
- name: Verify dart formatting | |
run: dart format --output=none --set-exit-if-changed . | |
# Consider passing '--fatal-infos' for slightly stricter analysis. | |
#- name: Analyze project dart source | |
# run: dart analyze | |
# Get flutter dependencies. | |
- run: flutter pub get | |
# Statically analyze the Dart code for any errors. | |
- name: Analyze project flutter source | |
run: flutter analyze . | |
# Run tests for our flutter project. | |
- run: flutter test | |
# Run the publish command in dry-run mode to see if everything passes analysis: | |
#- name: Publishing command in dry-run | |
# run: flutter pub publish --dry-run --set-exit-if-changed | |
# Publish to pub.dev, but be sure that you are ready because publishing is forever | |
#- name: Publishing to pub.dev | |
# run: flutter pub publish |