Merge pull request #27 from gojek/task/update-to-1.0.17 #121
This file contains hidden or 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
| name: Courier CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| name: Run Unit Tests with Coverage | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: '3.0.3' | |
| channel: 'stable' | |
| - run: cd courier_dart_sdk && flutter test --coverage | |
| build_android: | |
| name: Build Demo App Android APK | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: '3.0.3' | |
| channel: 'stable' | |
| - run: cd courier_dart_sdk_demo && flutter build apk --release | |
| build_ios: | |
| name: Build Demo App iOS APK | |
| runs-on: macos-13 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: '3.1.7' | |
| - name: Install CocoaPods | |
| run: gem install cocoapods | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: '3.0.3' | |
| channel: 'stable' | |
| - run: cd courier_dart_sdk_demo && flutter build ios --release --no-codesign |