Skip to content

PP 400 user gets stuck in qr code detection analysis screen when multi pages are scanned #205

PP 400 user gets stuck in qr code detection analysis screen when multi pages are scanned

PP 400 user gets stuck in qr code detection analysis screen when multi pages are scanned #205

name: Check Bank API Library
on:
push:
paths:
- 'BankAPILibrary/**'
tags-ignore:
- '**'
pull_request:
paths:
- 'BankAPILibrary/**'
workflow_call:
secrets:
GINI_MOBILE_TEST_CLIENT_SECRET:
required: true
workflow_dispatch:
jobs:
check:
runs-on: macos-latest
strategy:
matrix:
target: [GiniBankAPILibrary, GiniBankAPILibraryPinning]
destination: ['platform=iOS Simulator,OS=16.4,name=iPhone SE (3rd generation)', 'platform=iOS Simulator,OS=17.2,name=iPhone 14']
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: '14.3.1'
- name: Checkout
uses: actions/checkout@v3
- name: Check package GiniBankAPILibrary
run: |
cd BankAPILibrary/GiniBankAPILibrary
swift package update
- name: Check package GiniBankAPILibraryPinning
run: |
cd BankAPILibrary/GiniBankAPILibraryPinning
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 BankAPILibrary/GiniBankAPILibraryExample/GiniBankAPILibraryExample.xcodeproj
-scheme "GiniBankAPILibraryExampleTests"
-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 BankAPILibrary/GiniBankAPILibraryPinningExample/GiniBankAPILibraryPinningExample.xcodeproj
-scheme "GiniBankAPILibraryPinningExampleTests"
-destination "${{ matrix.destination }}"
-skip-testing:GiniBankAPILibraryPinningExampleTests/PinningWrongCertificatesIntegrationTests
CODE_SIGN_IDENTITY=""
CODE_SIGNING_REQUIRED=NO
ONLY_ACTIVE_ARCH=NO
CLIENT_ID="gini-mobile-test"
CLIENT_SECRET="${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}"
&&
xcodebuild clean test
-project BankAPILibrary/GiniBankAPILibraryPinningExample/GiniBankAPILibraryPinningExample.xcodeproj
-scheme "GiniBankAPILibraryPinningExampleTests"
-destination "${{ matrix.destination }}"
-only-testing:GiniBankAPILibraryPinningExampleTests/PinningWrongCertificatesIntegrationTests
CODE_SIGN_IDENTITY=""
CODE_SIGNING_REQUIRED=NO
ONLY_ACTIVE_ARCH=NO
CLIENT_ID="gini-mobile-test"
CLIENT_SECRET="${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}"