Skip to content

Als 1805 remove amplify #76

Als 1805 remove amplify

Als 1805 remove amplify #76

Workflow file for this run

name: Run E2E Tests for iOS
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches: [main]
jobs:
test-iOS:
name: Test iOS App
runs-on: macos-14-xlarge
steps:
- uses: actions/checkout@v3
- name: Setup Bundler
working-directory: ./LocationServices
run: |
bundle config --local path ./vendor/bundle
bundle config --local deployment true
bundle install
- name: Setup Config
working-directory: ./LocationServices
run: |
base64 -d <<< ${{ secrets.CONFIG }} > Config.xcconfig
base64 -d <<< ${{ secrets.TEST_CONFIG }} > ConfigTest.xcconfig
- name: Run tests on iPhone
working-directory: ./LocationServices
run: bundle exec fastlane run_e2e_tests device:"iPhone 14 Pro Max (17.5)"
- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results-iphone
path: ${{ env.xcresult_path }}
retention-days: 1
# - name: Run tests on iPad
# working-directory: ./LocationServices
# run: bundle exec fastlane run_e2e_tests device:"iPad Pro (12.9-inch) (6th generation)"
# - name: Upload test results for iPad
# uses: actions/upload-artifact@v4
# if: always()
# with:
# name: test-results-ipad
# path: ${{ env.xcresult_path }}
# retention-days: 1