Pp 809 see the attached invoices on the transaction summary screen #1404
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Capture SDK | |
on: | |
push: | |
paths: | |
- 'CaptureSDK/**' | |
- 'BankAPILibrary/**' | |
tags-ignore: | |
- '**' | |
pull_request: | |
paths: | |
- 'CaptureSDK/**' | |
- 'BankAPILibrary/**' | |
workflow_call: | |
secrets: | |
GINI_MOBILE_TEST_CLIENT_SECRET: | |
required: true | |
workflow_dispatch: | |
jobs: | |
check: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
target: [GiniCaptureSDK, GiniCaptureSDKPinning] | |
destination: ['platform=iOS Simulator,OS=17.2,name=iPhone SE (3rd generation)', 'platform=iOS Simulator,OS=18.1,name=iPhone 15 Pro Max'] | |
steps: | |
- uses: maxim-lobanov/[email protected] | |
with: | |
xcode-version: '15.3' | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Check package GiniCaptureSDK | |
run: | | |
cd CaptureSDK/GiniCaptureSDK | |
swift package update | |
- name: Check package GiniCaptureSDKPinning | |
run: | | |
cd CaptureSDK/GiniCaptureSDKPinning | |
swift package update | |
- name: Build sdk targets | |
run: | | |
xcodebuild -workspace GiniMobile.xcworkspace -scheme "${{ matrix.target }}" -destination "${{ matrix.destination }}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO | |
- name: Run unit tests | |
run: | | |
xcodebuild clean test -workspace GiniMobile.xcworkspace -scheme "${{ matrix.target }}Tests" -destination "${{ matrix.destination }}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO | |
- name: Build example app and run integration tests | |
run: > | |
xcodebuild clean test | |
-project CaptureSDK/GiniCaptureSDKExample/GiniCaptureSDKExample.xcodeproj | |
-scheme "GiniCaptureSDKExampleTests" | |
-destination "${{ matrix.destination }}" | |
CODE_SIGN_IDENTITY="" | |
CODE_SIGNING_REQUIRED=NO | |
ONLY_ACTIVE_ARCH=NO | |
CLIENT_ID="gini-mobile-test" | |
CLIENT_SECRET="${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}" | |
- name: Build pinning example app and run integration tests | |
run: > | |
xcodebuild clean test | |
-project CaptureSDK/GiniCaptureSDKPinningExample/GiniCaptureSDKPinningExample.xcodeproj | |
-scheme "GiniCaptureSDKPinningExampleTests" | |
-destination "${{ matrix.destination }}" | |
CODE_SIGN_IDENTITY="" | |
CODE_SIGNING_REQUIRED=NO | |
ONLY_ACTIVE_ARCH=NO | |
CLIENT_ID="gini-mobile-test" | |
CLIENT_SECRET="${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}" | |