@@ -3,7 +3,6 @@ name: CI Build
33# Run for any commits to any branch
44on : [push, pull_request]
55
6-
76env :
87 LANG : en_US.UTF-8
98 # CodeClimate
@@ -29,11 +28,30 @@ jobs:
2928 chmod +x ./cc-test-reporter
3029 ./cc-test-reporter before-build
3130
32- # Executes pod install and runs test against Debug target
33- - name : Run tests
34- 31+ # Executes pod install
32+ - name : Installing Dependencies
33+ run : pod install --repo-update
34+
35+ # Downloads Firebase files
36+ - name : Downloading Google Firebase plist files
37+ uses :
keithweaver/[email protected] 38+ with :
39+ command : cp
40+ source : s3://${{ secrets.BUILDS_BUCKET }}/ios-base/GoogleService-Info.plist
41+ destination : " ios-base/Resources/GoogleService-Info.plist"
42+ aws_access_key_id : ${{ secrets.AWS_ACCESS_KEY_ID }}
43+ aws_secret_access_key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
44+ aws_region : us-east-1
45+
46+ # Runs test on the develop scheme
47+ - name : Running Test Suite
48+ uses : mxcl/xcodebuild@v1
3549 with :
36- lane : debug_develop
50+ platform : iOS
51+ use_modern_build_system : true
52+ code-coverage : true
53+ scheme : ios-base-develop
54+ configuration : Debug # no default, ie. `xcodebuild` decides itself
3755
3856 - name : Send test coverage report
3957 run : ./cc-test-reporter after-build
4462 status : ${{ job.status }}
4563 text : ' ios-base build status is ${{ job.status }}'
4664 fields : repo,message,commit,author,action,eventName,ref,workflow,job,took
47- if : always()
65+ if : always()
0 commit comments