-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (32 loc) · 1018 Bytes
/
test-ios-e2e.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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