add try catch blocks to android plugin #196
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: tests | |
on: | |
push: | |
pull_request: | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
flutter-version: ["3.24.5", "stable"] | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./in_app_review | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: britannio/action-install-flutter@v1 | |
with: | |
version: ${{ matrix.flutter-version }} | |
- name: Get dependencies | |
run: flutter pub get | |
- name: Static Analysis | |
run: flutter analyze --no-pub | |
- name: Run Tests | |
run: flutter test --no-pub | |
platform_interface_tests: | |
strategy: | |
matrix: | |
flutter-version: ["3.24.5", "stable"] | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./in_app_review_platform_interface | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: britannio/action-install-flutter@v1 | |
with: | |
version: ${{ matrix.flutter-version }} | |
- name: Get dependencies | |
run: flutter pub get | |
- name: Static Analysis | |
run: flutter analyze --no-pub | |
- name: Run Tests | |
run: flutter test --no-pub |