File tree Expand file tree Collapse file tree 2 files changed +42
-30
lines changed Expand file tree Collapse file tree 2 files changed +42
-30
lines changed Original file line number Diff line number Diff line change 1+ name : integration_tests
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+ workflow_dispatch :
11+
12+ jobs :
13+
14+ swift-button-functional-test :
15+ runs-on : macOS-latest
16+ defaults :
17+ run :
18+ working-directory : Samples/Swift/DaysUntilBirthday
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v2
22+ - name : Build test target for Google Sign-in button for Swift
23+ run : |
24+ xcodebuild \
25+ -project DaysUntilBirthday.xcodeproj \
26+ build-for-testing \
27+ -scheme DaysUntilBirthday\ \(iOS\) \
28+ -sdk iphonesimulator \
29+ -destination 'platform=iOS Simulator,name=iPhone 11'
30+ - name : Run test target for Google Sign-in button for Swift
31+ env :
32+ EMAIL_SECRET : ${{ secrets.EMAIL_SECRET }}
33+ PASSWORD_SECRET : ${{ secrets.PASSWORD_SECRET }}
34+ run : |
35+ xcodebuild \
36+ -project DaysUntilBirthday.xcodeproj \
37+ test-without-building \
38+ -scheme DaysUntilBirthday\ \(iOS\) \
39+ -sdk iphonesimulator \
40+ -destination 'platform=iOS Simulator,name=iPhone 11' \
41+ EMAIL_SECRET=$EMAIL_SECRET \
42+ PASSWORD_SECRET=$PASSWORD_SECRET
Original file line number Diff line number Diff line change 6666 -destination ${{ matrix.destination }} \
6767 test-without-building
6868
69- swift-button-functional-test :
70- if : ${{ false }} # Disable integration tests while we figure out OTAs
71- runs-on : macOS-latest
72- defaults :
73- run :
74- working-directory : Samples/Swift/DaysUntilBirthday
75- steps :
76- - name : Checkout
77- uses : actions/checkout@v2
78- - name : Build test target for Google Sign-in button for Swift
79- run : |
80- xcodebuild \
81- -project DaysUntilBirthday.xcodeproj \
82- build-for-testing \
83- -scheme DaysUntilBirthday\ \(iOS\) \
84- -sdk iphonesimulator \
85- -destination 'platform=iOS Simulator,name=iPhone 11'
86- - name : Run test target for Google Sign-in button for Swift
87- env :
88- EMAIL_SECRET : ${{ secrets.EMAIL_SECRET }}
89- PASSWORD_SECRET : ${{ secrets.PASSWORD_SECRET }}
90- run : |
91- xcodebuild \
92- -project DaysUntilBirthday.xcodeproj \
93- test-without-building \
94- -scheme DaysUntilBirthday\ \(iOS\) \
95- -sdk iphonesimulator \
96- -destination 'platform=iOS Simulator,name=iPhone 11' \
97- EMAIL_SECRET=$EMAIL_SECRET \
98- PASSWORD_SECRET=$PASSWORD_SECRET
You can’t perform that action at this time.
0 commit comments