-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to android billing client 4.0.0 (#326)
* Migrate to android billing client 4.0.0 * Remove `orderId` from `Purchase` which is dup * Remove `originalJsonAndroid` which is dup of `dataAndroid` * Include flutter github workflow * Add ci badge * Flutter version config in workflow * Run flutter format * Remove flutter analyze from testing temporarily * Specify coveralls version Related - https://githubmemory.com/repo/coverallsapp/github-action/issues/26 * Change token to coveralls token * Remove travis
- Loading branch information
Showing
12 changed files
with
136 additions
and
148 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,43 @@ | ||
name: Flutter CI | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: "14.x" | ||
|
||
- uses: subosito/flutter-action@v1 | ||
with: | ||
channel: "stable" | ||
flutter-version: "2.x" | ||
|
||
- run: flutter pub get | ||
|
||
- run: flutter format --set-exit-if-changed . | ||
|
||
# - run: flutter analyze . | ||
|
||
- run: flutter test --coverage | ||
|
||
- name: Coveralls | ||
uses: coverallsapp/[email protected] | ||
with: | ||
github-token: ${{ secrets.GH_TOKEN }} | ||
path-to-lcov: coverage/lcov.info | ||
|
||
- run: flutter build apk | ||
|
||
# Upload generated apk to the artifacts. | ||
# - uses: actions/upload-artifact@v1 | ||
# with: | ||
# name: release-apk | ||
# path: build/app/outputs/apk/release/app-release.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 |
---|---|---|
|
@@ -14,3 +14,5 @@ flutter_inapp_android.iml | |
flutter_export_environment* | ||
launch.json | ||
.flutter-plugins-* | ||
|
||
coverage |
This file was deleted.
Oops, something went wrong.
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.