ALS-1805 [iOS] Remove amplify dependency from the demo app #30
Workflow file for this run
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: Run E2E Tests for iOS | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
jobs: | |
test-iOS: | |
name: Test iOS App | |
runs-on: macos-15 | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 16 Pro Max (18.0)" | |
- name: Upload test results | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: test-results-iphone | |
path: ${{ env.xcresult_path }} | |
retention-days: 1 |