Skip to content

Add Future return in some methods #205

Add Future return in some methods

Add Future return in some methods #205

Workflow file for this run

name: Mixpanel Flutter SDK CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test-main-code:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '3.16.0'
- run: flutter pub get
- run: flutter test
- run: flutter analyze --no-pub --no-current-package lib
test-android-integration:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '3.16.0'
- name: Test Android integration
working-directory: example
run: flutter build apk
test-ios-integration:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '3.16.0'
- name: Clean
working-directory: example
run: flutter clean
- name: Prep
working-directory: example
run: flutter pub get
- name: Test iOS integration
working-directory: example
run: flutter build ios --debug --simulator --no-codesign