Skip to content

Commit

Permalink
ci (ui-automation): Exclude all specific UITests from GiniBankSDKExam…
Browse files Browse the repository at this point in the history
…ple in CI workflow
  • Loading branch information
ValentinaIancu-Gini committed Sep 27, 2024
1 parent fa4f53f commit c474ce3
Showing 1 changed file with 38 additions and 12 deletions.
50 changes: 38 additions & 12 deletions .github/workflows/bank-sdk.check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,27 +49,53 @@ 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
xcodebuild clean test -workspace GiniMobile.xcworkspace -scheme "${{ matrix.target }}Tests" -destination "${{ matrix.destination }}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO \
-skip-testing:GiniBankSDKExampleUITests/GiniCameraAccessScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniCaptureScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniErrorScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniHelpScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniMainScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniOnboardingScreenUITest \
-skip-testing:GiniBankSDKExampleUITests/GiniReturnAssistantScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniReviewScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniSkontoScreenUITests \
- name: Build example app and run unit and integration tests
run: >
xcodebuild clean test
-project BankSDK/GiniBankSDKExample/GiniBankSDKExample.xcodeproj
-scheme "GiniBankSDKExampleTests"
-destination "${{ matrix.destination }}"
-skip-testing:GiniBankSDKExampleUITests/*
CODE_SIGN_IDENTITY=""
CODE_SIGNING_REQUIRED=NO
ONLY_ACTIVE_ARCH=NO
CLIENT_ID="gini-mobile-test"
CLIENT_SECRET="${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}"
run: |
xcodebuild clean test \
-project BankSDK/GiniBankSDKExample/GiniBankSDKExample.xcodeproj \
-scheme "GiniBankSDKExampleTests" \
-destination "${{ matrix.destination }}" \
-skip-testing:GiniBankSDKExampleUITests/GiniCameraAccessScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniCaptureScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniErrorScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniHelpScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniMainScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniOnboardingScreenUITest \
-skip-testing:GiniBankSDKExampleUITests/GiniReturnAssistantScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniReviewScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniSkontoScreenUITests \
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 unit and integration tests
run: >
xcodebuild clean test
-project BankSDK/GiniBankSDKPinningExample/GiniBankSDKPinningExample.xcodeproj
-scheme "GiniBankSDKPinningExampleTests"
-destination "${{ matrix.destination }}"
-skip-testing:GiniBankSDKExampleUITests/GiniCameraAccessScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniCaptureScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniErrorScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniHelpScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniMainScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniOnboardingScreenUITest \
-skip-testing:GiniBankSDKExampleUITests/GiniReturnAssistantScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniReviewScreenUITests \
-skip-testing:GiniBankSDKExampleUITests/GiniSkontoScreenUITests \
CODE_SIGN_IDENTITY=""
CODE_SIGNING_REQUIRED=NO
ONLY_ACTIVE_ARCH=NO
Expand Down

0 comments on commit c474ce3

Please sign in to comment.