-
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 1.32 KB
/
ios.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
name: iOS Test Suite
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: Run tests with fastlane
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
- run: |
brew bundle install
bundler install
- name: Set up xcconfig secrets (see README#quick-start)
run: |
echo "API_SECRET = ${{ secrets.API_SECRET }}" >> BikeIndex-development.xcconfig
echo "API_CLIENT_ID = ${{ secrets.API_CLIENT_ID }}" >> BikeIndex-development.xcconfig
echo "API_HOST = ${{ vars.API_HOST }}" >> BikeIndex-development.xcconfig
echo "API_PORT = ${{ vars.API_PORT }}" >> BikeIndex-development.xcconfig
echo "API_REDIRECT_URI = ${{ vars.API_REDIRECT_URI }}" >> BikeIndex-development.xcconfig
echo "DEVELOPMENT_TEAM = ${{ vars.DEVELOPMENT_TEAM }}" >> BikeIndex-development.xcconfig
echo "PRODUCT_BUNDLE_IDENTIFIER = ${{ vars.PRODUCT_BUNDLE_IDENTIFIER }}" >> BikeIndex-development.xcconfig
- uses: actions/upload-artifact@v4
with:
name: config
path: BikeIndex-development.xcconfig
- run: |
xcodebuild -showBuildSettings -scheme Debug\ \(development\) -project BikeIndex.xcodeproj -showdestinations
bundle exec fastlane ios tests