Skip to content

Commit

Permalink
chore: try to fix android ci
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasXu0 committed Feb 1, 2024
1 parent 915f6c4 commit c379d86
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
1 change: 1 addition & 0 deletions .github/workflows/android_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,6 @@ jobs:
with:
api-level: 29
arch: x86_64
disk-size: 2048M
working-directory: frontend/appflowy_flutter
script: flutter test integration_test/runner.dart
17 changes: 5 additions & 12 deletions .github/workflows/ios_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@ jobs:
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true

- uses: futureware-tech/simulator-action@v1
id: simulator
with:
model: "iPhone 13"

- uses: Swatinem/rust-cache@v2
with:
prefix-key: ${{ matrix.os }}
Expand All @@ -85,13 +80,11 @@ jobs:
cargo make --profile development-ios-arm64-sim appflowy-core-dev-ios
cargo make --profile development-ios-arm64-sim code_generation
- name: Prebuild AppFlowy
working-directory: frontend/appflowy_flutter
run: |
flutter pub get
flutter packages pub get
flutter build ios --simulator --target=integration_test/runner.dart
- uses: futureware-tech/simulator-action@v3
id: simulator-action
with:
model: 'iPhone 13'

- name: Run integration tests
working-directory: frontend/appflowy_flutter
run: flutter test integration_test/runner.dart -d "iPhone 13"
run: flutter test integration_test/runner.dart -d ${{ steps.simulator-action.outputs.udid }}
2 changes: 1 addition & 1 deletion frontend/appflowy_flutter/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 8c681999c7764593c94846b2a64b44d86f7a27ac

COCOAPODS: 1.14.3
COCOAPODS: 1.12.1

0 comments on commit c379d86

Please sign in to comment.