Skip to content

Add integration tests #16

Add integration tests

Add integration tests #16

Workflow file for this run

name: FlutterFlow
on: push
env:
# Keep this in sync with the version used by FlutterFlow.
DART_VERSION: 3.5.2
FLUTTER_VERSION: 3.24.2
jobs:
check:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Setup Dart
uses: dart-lang/setup-dart@v1
with:
sdk: ${{ env.DART_VERSION }}
- name: Install dependencies
run: |
dart pub get --enforce-lockfile
- name: Analyze code
run: |
dart analyze
- name: Format code
run: |
dart format . --set-exit-if-changed
build_and_test:
runs-on: ${{ matrix.os }}
needs: check
timeout-minutes: 10
strategy:
matrix:
os: [ubuntu-24.04, windows-10, windows-11, macos-14]
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 # v2
with:
channel: master
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: Install dependencies
run: |
dart pub get --enforce-lockfile
- name: Build
run: |
dart compile exe bin/flutterflow_cli.dart
- name: Run
run: |
dart run bin/flutterflow_cli.dart -h
- name: Test
env:
FF_TESTER_TOKEN: ${{ secrets.FF_TESTER_TOKEN }}
run: |
dart test