Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: integration_tests

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:

swift-button-functional-test:
runs-on: macOS-latest
defaults:
run:
working-directory: Samples/Swift/DaysUntilBirthday
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build test target for Google Sign-in button for Swift
run: |
xcodebuild \
-project DaysUntilBirthday.xcodeproj \
build-for-testing \
-scheme DaysUntilBirthday\ \(iOS\) \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 11'
- name: Run test target for Google Sign-in button for Swift
env:
EMAIL_SECRET : ${{ secrets.EMAIL_SECRET }}
PASSWORD_SECRET : ${{ secrets.PASSWORD_SECRET }}
run: |
xcodebuild \
-project DaysUntilBirthday.xcodeproj \
test-without-building \
-scheme DaysUntilBirthday\ \(iOS\) \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 11' \
EMAIL_SECRET=$EMAIL_SECRET \
PASSWORD_SECRET=$PASSWORD_SECRET
30 changes: 0 additions & 30 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,33 +66,3 @@ jobs:
-destination ${{ matrix.destination }} \
test-without-building

swift-button-functional-test:
if: ${{ false }} # Disable integration tests while we figure out OTAs
runs-on: macOS-latest
defaults:
run:
working-directory: Samples/Swift/DaysUntilBirthday
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build test target for Google Sign-in button for Swift
run: |
xcodebuild \
-project DaysUntilBirthday.xcodeproj \
build-for-testing \
-scheme DaysUntilBirthday\ \(iOS\) \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 11'
- name: Run test target for Google Sign-in button for Swift
env:
EMAIL_SECRET : ${{ secrets.EMAIL_SECRET }}
PASSWORD_SECRET : ${{ secrets.PASSWORD_SECRET }}
run: |
xcodebuild \
-project DaysUntilBirthday.xcodeproj \
test-without-building \
-scheme DaysUntilBirthday\ \(iOS\) \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 11' \
EMAIL_SECRET=$EMAIL_SECRET \
PASSWORD_SECRET=$PASSWORD_SECRET