-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flutter analyze issues were fixed, fixed testing coverage , added git…
…hub actions workflow
- Loading branch information
Showing
13 changed files
with
243 additions
and
148 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Build Android | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-android: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: 'latest' | ||
|
||
- name: Install dependencies | ||
run: | | ||
cd example | ||
flutter pub get | ||
- name: Build APK | ||
run: | | ||
cd example | ||
flutter build apk |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Build iOS | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-ios: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: | | ||
cd example | ||
flutter pub get | ||
- name: Install CocoaPods | ||
run: sudo gem install cocoapods | ||
|
||
- name: Install Pods | ||
run: | | ||
cd example/ios | ||
pod install --repo-update | ||
- name: Build iOS app | ||
run: | | ||
cd example | ||
flutter build ios --release --no-codesign |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Plugin QA | ||
|
||
on: | ||
push: | ||
branches: | ||
- releases/[0-9].x.x/[0-9].[0-9]+.x/[0-9].[0-9]+.[0-9]+-rc[0-9]+ | ||
- testWorkflow | ||
- CI-Actions | ||
|
||
jobs: | ||
Run-Unit-Tests: | ||
uses: ./.github/workflows/runTest.yml | ||
|
||
Build-Sample-Apps-Android: | ||
needs: [ Run-Unit-Tests ] | ||
uses: ./.github/workflows/build-android.yml | ||
|
||
Build-Sample-Apps-iOS: | ||
needs: [ Run-Unit-Tests ] | ||
uses: ./.github/workflows/build-ios.yml | ||
|
||
Deploy-To-QA: | ||
needs: [ Build-Sample-Apps-Android, Build-Sample-Apps-iOS ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
#need to add steps |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Run Tests | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install dependencies | ||
run: flutter pub get | ||
|
||
- name: Run tests | ||
run: flutter test | ||
|
||
- name: Analyze Flutter | ||
run: flutter analyze |
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
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
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
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
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
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
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
Oops, something went wrong.