Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pp 194 merge capture sdk example app into bank sdk example app #763

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
4f07043
feat(GiniCaptureSDK): Remove `GiniCaptureSDKExample` project
ValentinaIancu-Gini Jan 8, 2025
2151a28
feat(GiniBankSDK): Add unit tests from `GiniCaptureSDKExample` project
ValentinaIancu-Gini Jan 8, 2025
f8c5672
GiniMobile: Remove `GiniCaptureSDKExample` project reference
ValentinaIancu-Gini Jan 8, 2025
63c20c8
feat(GiniCaptureSDK): Remove `GiniCaptureSDKPinningExample` project
ValentinaIancu-Gini Jan 8, 2025
22e9154
GiniMobile: Remove `GiniCaptureSDKPinningExample` project reference
ValentinaIancu-Gini Jan 8, 2025
cfa64e1
feat(GiniBankSDK): Add unit tests from `GiniCaptureSDKPinningExample`…
ValentinaIancu-Gini Jan 8, 2025
7aa474e
feat(GiniBankAPILibrary): Remove `GiniBankAPILibraryExample` project
ValentinaIancu-Gini Jan 8, 2025
2e31bf2
feat(GiniBankAPILibrary): Remove `GiniBankAPILibraryPinningExample` p…
ValentinaIancu-Gini Jan 8, 2025
426f336
GiniMobile: Remove `GiniBankAPILibraryExample` and `GiniBankAPILibrar…
ValentinaIancu-Gini Jan 8, 2025
22807fe
feat(GiniBankSDK): Add unit tests and integration tests from `GiniBan…
ValentinaIancu-Gini Jan 8, 2025
0f79f10
feat(GiniBankSDK): Add unit tests and integration tests from `GiniBan…
ValentinaIancu-Gini Jan 8, 2025
c172675
ci: Update bank-api-library.check git flow to not run anymore Example…
ValentinaIancu-Gini Jan 8, 2025
0831825
ci: Update `capture-sdk.check` git flow to not run anymore Example ap…
ValentinaIancu-Gini Jan 8, 2025
0811c93
fix(GiniBankSDK): Define a constant instead of duplicating custom-api…
ValentinaIancu-Gini Jan 8, 2025
737b703
fix(BankSDKExample): Fix Sonar cloud issues in GalleryManagerTests
zladzeyka Feb 3, 2025
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
51 changes: 1 addition & 50 deletions .github/workflows/bank-api-library.check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,53 +48,4 @@ jobs:

- 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: Extract Device Name
id: extract_name
run: |
DEVICE_NAME=$(echo "${{ matrix.destination }}" | sed -n 's/.*name=\([^,]*\).*/\1/p')
echo "DEVICE_NAME=${DEVICE_NAME}" >> $GITHUB_ENV

- name: Start iOS Simulator
run: |
xcrun simctl boot "$DEVICE_NAME"
xcrun simctl bootstatus "$DEVICE_NAME" -b

- name: Build example app and run integration tests
if: ${{ matrix.target == 'GiniBankAPILibrary' }}
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
if: ${{ matrix.target == 'GiniBankAPILibraryPinning' }}
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 }}"
xcodebuild clean test -workspace GiniMobile.xcworkspace -scheme "${{ matrix.target }}Tests" -destination "${{ matrix.destination }}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO
40 changes: 1 addition & 39 deletions .github/workflows/capture-sdk.check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,42 +48,4 @@ jobs:

- 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: Extract Device Name
id: extract_name
run: |
DEVICE_NAME=$(echo "${{ matrix.destination }}" | sed -n 's/.*name=\([^,]*\).*/\1/p')
echo "DEVICE_NAME=${DEVICE_NAME}" >> $GITHUB_ENV

- name: Start iOS Simulator
run: |
xcrun simctl boot "$DEVICE_NAME"
xcrun simctl bootstatus "$DEVICE_NAME" -b

- name: Build example app and run integration tests
if: ${{ matrix.target == 'GiniCaptureSDK' }}
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
if: ${{ matrix.target == 'GiniCaptureSDKPinning' }}
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 }}"

xcodebuild clean test -workspace GiniMobile.xcworkspace -scheme "${{ matrix.target }}Tests" -destination "${{ matrix.destination }}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO
Loading
Loading