mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
4e6880e520
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3. - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/setup-java dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex <alex.tran1502@gmail.com>
44 lines
No EOL
1.2 KiB
YAML
44 lines
No EOL
1.2 KiB
YAML
name: Flutter Integration Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-java@v3
|
|
with:
|
|
distribution: 'adopt'
|
|
java-version: '11'
|
|
- name: Cache android SDK
|
|
uses: actions/cache@v3
|
|
id: android-sdk
|
|
with:
|
|
key: android-sdk
|
|
path: |
|
|
/usr/local/lib/android/
|
|
~/.android
|
|
- name: Setup Android SDK
|
|
if: steps.android-sdk.outputs.cache-hit != 'true'
|
|
uses: android-actions/setup-android@v2
|
|
- name: Setup Flutter SDK
|
|
uses: subosito/flutter-action@v2
|
|
with:
|
|
channel: 'stable'
|
|
- name: Run integration tests
|
|
uses: reactivecircus/android-emulator-runner@v2.27.0
|
|
with:
|
|
working-directory: ./mobile
|
|
api-level: 29
|
|
arch: x86_64
|
|
profile: pixel
|
|
target: default
|
|
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim
|
|
disable-linux-hw-accel: false
|
|
script: |
|
|
flutter pub get
|
|
flutter test integration_test |