feat: bump Firebase Android SDK to 34.18.0 #138
Workflow file for this run
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: android-unit-tests | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| paths: | |
| - 'packages/**/android/**' | |
| - 'tests/android/**' | |
| - '.github/workflows/android_unit_tests.yaml' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'packages/**/android/**' | |
| - 'tests/android/**' | |
| - '.github/workflows/android_unit_tests.yaml' | |
| jobs: | |
| android-unit-tests: | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 | |
| - uses: ./.github/actions/setup-flutterfire | |
| with: | |
| node: 'false' | |
| bootstrap-scope: 'tests' | |
| - name: Gradle cache | |
| uses: gradle/actions/setup-gradle@90ddb51e90a5fd9ba75f40cf85156b7b41bf76a3 | |
| - name: 'Generate Gradle build files' | |
| # The Gradle wrapper and local.properties are gitignored, and Flutter injects | |
| # both. --config-only does that without building any Dart artifacts. | |
| run: cd tests && flutter build apk --debug --config-only | |
| - name: 'Run Android unit tests' | |
| # Tasks are listed per package rather than using the root testDebugUnitTest | |
| # task, which would also build the Dart sources of the aggregate test app. | |
| # Add a task here when a package gains an android/src/test directory. | |
| run: cd tests/android && ./gradlew :firebase_crashlytics:testDebugUnitTest | |
| - name: 'Upload test reports' | |
| if: failure() | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a | |
| with: | |
| name: android-unit-test-reports | |
| path: tests/build/*/reports/tests/ | |
| retention-days: 5 |