@@ -3,7 +3,6 @@ name: CI Build
3
3
# Run for any commits to any branch
4
4
on : [push, pull_request]
5
5
6
-
7
6
env :
8
7
LANG : en_US.UTF-8
9
8
# CodeClimate
@@ -29,11 +28,30 @@ jobs:
29
28
chmod +x ./cc-test-reporter
30
29
./cc-test-reporter before-build
31
30
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
35
49
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
37
55
38
56
- name : Send test coverage report
39
57
run : ./cc-test-reporter after-build
44
62
status : ${{ job.status }}
45
63
text : ' ios-base build status is ${{ job.status }}'
46
64
fields : repo,message,commit,author,action,eventName,ref,workflow,job,took
47
- if : always()
65
+ if : always()
0 commit comments