Skip to content

Commit

Permalink
wip ios
Browse files Browse the repository at this point in the history
  • Loading branch information
minikin committed Nov 8, 2023
1 parent 3d0d4cc commit 5ca30eb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/flitter-mobile-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
- name: ⬇️ Checkout repository
uses: actions/checkout@v3

# - name: ⤵️ Authenticate with Google Cloud Platform
# uses: "google-github-actions/auth@v1"
# with:
# credentials_json: "${{ secrets.GOOGLE_CREDENTIALS_INTEGRATION_TESTS }}"
- name: ⤵️ Authenticate with Google Cloud Platform
uses: "google-github-actions/auth@v1"
with:
credentials_json: "${{ secrets.GOOGLE_CREDENTIALS_INTEGRATION_TESTS }}"

# - name: ⚙️ Setup Google Cloud SDK
# uses: google-github-actions/setup-gcloud@v1
- name: ⚙️ Setup Google Cloud SDK
uses: google-github-actions/setup-gcloud@v1

- name: ⚙️ Setup Java
uses: actions/setup-java@v1
Expand All @@ -58,5 +58,5 @@ jobs:
# - name: 🤖 Run Android Integration Tests
# run: ./scripts/flutter_android_integration_test.sh

# - name: 📱 Run iOS Integration Tests
# run: ./scripts/flutter_ios_integration_test.sh
- name: 📱 Run iOS Integration Tests
run: ./scripts/flutter_ios_integration_test.sh
9 changes: 6 additions & 3 deletions scripts/flutter_ios_integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ xcodebuild build-for-testing \
$output
popd

# Varify test build
# xcodebuild test-without-building \
# -xctestrun "../catalyst_voices/build/ios_integ/Build/Products/development_iphoneos17.0-arm64.xctestrun" \
# -destination id=700CAA18-787E-4831-B4D7-6B8E32485304

pushd $product
zip -r "ios_tests.zip" "Release-iphoneos" "development_iphoneos17.0-arm64.xctestrun"
popd
Expand All @@ -32,6 +37,4 @@ gcloud firebase test ios run \
--results-bucket=gs://dev-catalyst-voice.appspot.com \
--results-dir=integration_test_results/ios/

# xcodebuild test-without-building \
# -xctestrun "../catalyst_voices/build/ios_integ/Build/Products/development_iphoneos17.0-arm64.xctestrun" \
# -destination id=700CAA18-787E-4831-B4D7-6B8E32485304

0 comments on commit 5ca30eb

Please sign in to comment.