Merge pull request #172 from Eldar2021/rl/v1.2.2 #315
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
name: CI Android | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
integration_test_android: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.13.8" | |
channel: stable | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: "11" | |
distribution: "temurin" | |
cache: gradle | |
- run: flutter doctor -v | |
- name: "Melos Install" | |
run: dart pub global activate melos | |
- name: "Melos bs" | |
run: melos bootstrap | |
- uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: 29 | |
arch: x86_64 | |
script: melos integration-test-app | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: my-artifact | |
path: ./app/screenshots/* |