Skip to content

[dev 4.0.1 -> staging] Add namespace support for Android #221

[dev 4.0.1 -> staging] Add namespace support for Android

[dev 4.0.1 -> staging] Add namespace support for Android #221

Workflow file for this run

name: "Dart Unit Tests + Android Build + iOS Build"
on:
push:
branches:
- main
- staging
paths:
- "plugins/**"
- "example/**"
pull_request:
branches:
- main
- staging
paths:
- "plugins/**"
- "example/**"
jobs:
job1:
name: Build Android example app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.x"
- name: Install dependencies
working-directory: ./example
run: flutter pub get
- name: Build apk
working-directory: ./example
run: flutter build apk
job2:
name: Build iOS example app
runs-on: macos-13
steps:
- uses: actions/checkout@v1
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "15.2"
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.x"
- name: Install dependencies
working-directory: ./example
run: flutter pub get
- name: Install pods
working-directory: ./example/ios
run: pod update
- name: Build iOS app
working-directory: ./example
run: flutter build ios --no-codesign --debug
job3:
name: Core unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.x"
- name: Install dependencies
working-directory: ./plugins/flutter_aepcore
run: flutter pub get
- name: Unit test
working-directory: ./plugins/flutter_aepcore
run: flutter test
job4:
if: false
name: Assurance unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.x"
- name: Install dependencies
working-directory: ./plugins/flutter_aepassurance
run: flutter pub get
- name: Unit test
working-directory: ./plugins/flutter_aepassurance
run: flutter test
job5:
if: false
name: Edge unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.x"
- name: Install dependencies
working-directory: ./plugins/flutter_aepedge
run: flutter pub get
- name: Unit test
working-directory: ./plugins/flutter_aepedge
run: flutter test
job6:
if: false
name: Consent unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.x"
- name: Install dependencies
working-directory: ./plugins/flutter_aepedgeconsent
run: flutter pub get
- name: Unit test
working-directory: ./plugins/flutter_aepedgeconsent
run: flutter test
job7:
if: false
name: EdgeIdentity unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.x"
- name: Install dependencies
working-directory: ./plugins/flutter_aepedgeidentity
run: flutter pub get
- name: Unit test
working-directory: ./plugins/flutter_aepedgeidentity
run: flutter test
job8:
if: false
name: UserProfile unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.x"
- name: Install dependencies
working-directory: ./plugins/flutter_aepuserprofile
run: flutter pub get
- name: Unit test
working-directory: ./plugins/flutter_aepuserprofile
run: flutter test