From b808e617e17bebb7205a3a15721a052fccf9058a Mon Sep 17 00:00:00 2001 From: Mike Nachbaur Date: Wed, 15 Nov 2023 16:59:35 -0800 Subject: [PATCH] Disable E2E UI tests, since they need to be moved to CircleCI --- .github/workflows/tests.yaml | 404 +++++++++++++++++------------------ 1 file changed, 202 insertions(+), 202 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 2bbeb9a25..301b54b8e 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -112,210 +112,210 @@ jobs: -sdk iphonesimulator \ -destination "$iOS_DESTINATION" 2>&1 - UITest-WebSignIn: - name: Web Sign In / Single Sign On (iOS) - runs-on: macos-12 - timeout-minutes: 20 - needs: - - XcodeBuild - - SwiftBuild - steps: - - uses: actions/checkout@master - - uses: ./.github/actions/setup-secrets - with: - okta_plist: "${{ secrets.TEST_OKTA_PLIST }}" - test_configuration: "${{ secrets.TEST_CONFIGURATION }}" - - name: Test Web Sign In - run: | - set -o pipefail && xcodebuild \ - -derivedDataPath ../Build/DerivedData \ - -clonedSourcePackagesDirPath ../Build/ClonedSources \ - -resultBundlePath ~/TestResults/WebSignIn.xcresult \ - -workspace OktaMobileSDK.xcworkspace \ - -scheme "WebSignIn (iOS)" \ - -sdk iphonesimulator \ - -destination "$iOS_DESTINATION" \ - test 2>&1 - - name: Test Single Sign In - run: | - set -o pipefail && xcodebuild \ - -derivedDataPath ../Build/DerivedData \ - -clonedSourcePackagesDirPath ../Build/ClonedSources \ - -resultBundlePath ~/TestResults/SingleSignOn.xcresult \ - -workspace OktaMobileSDK.xcworkspace \ - -scheme "SingleSignOn (iOS)" \ - -sdk iphonesimulator \ - -destination "$iOS_DESTINATION" \ - test 2>&1 - - name: Upload Test Results - uses: actions/upload-artifact@v3 - with: - path: ~/TestResults/*.xcresult - name: WebSignIn-Results - if-no-files-found: warn - retention-days: 7 - if: always() + #UITest-WebSignIn: + # name: Web Sign In / Single Sign On (iOS) + # runs-on: macos-12 + # timeout-minutes: 20 + # needs: + # - XcodeBuild + # - SwiftBuild + # steps: + # - uses: actions/checkout@master + # - uses: ./.github/actions/setup-secrets + # with: + # okta_plist: "${{ secrets.TEST_OKTA_PLIST }}" + # test_configuration: "${{ secrets.TEST_CONFIGURATION }}" + # - name: Test Web Sign In + # run: | + # set -o pipefail && xcodebuild \ + # -derivedDataPath ../Build/DerivedData \ + # -clonedSourcePackagesDirPath ../Build/ClonedSources \ + # -resultBundlePath ~/TestResults/WebSignIn.xcresult \ + # -workspace OktaMobileSDK.xcworkspace \ + # -scheme "WebSignIn (iOS)" \ + # -sdk iphonesimulator \ + # -destination "$iOS_DESTINATION" \ + # test 2>&1 + # - name: Test Single Sign In + # run: | + # set -o pipefail && xcodebuild \ + # -derivedDataPath ../Build/DerivedData \ + # -clonedSourcePackagesDirPath ../Build/ClonedSources \ + # -resultBundlePath ~/TestResults/SingleSignOn.xcresult \ + # -workspace OktaMobileSDK.xcworkspace \ + # -scheme "SingleSignOn (iOS)" \ + # -sdk iphonesimulator \ + # -destination "$iOS_DESTINATION" \ + # test 2>&1 + # - name: Upload Test Results + # uses: actions/upload-artifact@v3 + # with: + # path: ~/TestResults/*.xcresult + # name: WebSignIn-Results + # if-no-files-found: warn + # retention-days: 7 + # if: always() - UITest-DirectAuthSignIniOS: - name: Direct Auth Sign In (iOS) - runs-on: macos-12 - timeout-minutes: 25 - needs: - - XcodeBuild - - SwiftBuild - steps: - - uses: actions/checkout@master - - uses: ./.github/actions/setup-secrets - with: - okta_plist: "${{ secrets.TEST_OKTA_PLIST }}" - test_configuration: "${{ secrets.TEST_CONFIGURATION }}" - - name: Test - run: | - set -o pipefail && xcodebuild \ - -derivedDataPath ../Build/DerivedData \ - -clonedSourcePackagesDirPath ../Build/ClonedSources \ - -resultBundlePath ~/TestResults/DirectAuthSignIn.xcresult \ - -workspace OktaMobileSDK.xcworkspace \ - -scheme "DirectAuthSignIn (iOS)" \ - -sdk iphonesimulator \ - -destination "$iOS_DESTINATION" \ - test 2>&1 - - name: Upload Test Results - uses: actions/upload-artifact@v3 - with: - path: ~/TestResults/*.xcresult - name: DirectAuthSignIn-Results - if-no-files-found: warn - retention-days: 7 - if: always() + #UITest-DirectAuthSignIniOS: + # name: Direct Auth Sign In (iOS) + # runs-on: macos-12 + # timeout-minutes: 25 + # needs: + # - XcodeBuild + # - SwiftBuild + # steps: + # - uses: actions/checkout@master + # - uses: ./.github/actions/setup-secrets + # with: + # okta_plist: "${{ secrets.TEST_OKTA_PLIST }}" + # test_configuration: "${{ secrets.TEST_CONFIGURATION }}" + # - name: Test + # run: | + # set -o pipefail && xcodebuild \ + # -derivedDataPath ../Build/DerivedData \ + # -clonedSourcePackagesDirPath ../Build/ClonedSources \ + # -resultBundlePath ~/TestResults/DirectAuthSignIn.xcresult \ + # -workspace OktaMobileSDK.xcworkspace \ + # -scheme "DirectAuthSignIn (iOS)" \ + # -sdk iphonesimulator \ + # -destination "$iOS_DESTINATION" \ + # test 2>&1 + # - name: Upload Test Results + # uses: actions/upload-artifact@v3 + # with: + # path: ~/TestResults/*.xcresult + # name: DirectAuthSignIn-Results + # if-no-files-found: warn + # retention-days: 7 + # if: always() - UITest-DeviceAuthSignIniOS: - name: Device Auth Sign In (iOS) - runs-on: macos-12 - timeout-minutes: 20 - needs: - - XcodeBuild - - SwiftBuild - steps: - - uses: actions/checkout@master - - uses: ./.github/actions/setup-secrets - with: - okta_plist: "${{ secrets.TEST_OKTA_PLIST }}" - test_configuration: "${{ secrets.TEST_CONFIGURATION }}" - - name: Test - run: | - set -o pipefail && xcodebuild \ - -derivedDataPath ../Build/DerivedData \ - -clonedSourcePackagesDirPath ../Build/ClonedSources \ - -resultBundlePath ~/TestResults/DeviceAuthSignIn-iOS.xcresult \ - -workspace OktaMobileSDK.xcworkspace \ - -scheme "DeviceAuthSignIn (iOS)" \ - -sdk iphonesimulator \ - -destination "$iOS_DESTINATION" \ - test 2>&1 - - name: Upload Test Results - uses: actions/upload-artifact@v3 - with: - path: ~/TestResults/*.xcresult - name: DeviceAuthSignIn-iOS-Results - if-no-files-found: warn - retention-days: 7 - if: always() + #UITest-DeviceAuthSignIniOS: + # name: Device Auth Sign In (iOS) + # runs-on: macos-12 + # timeout-minutes: 20 + # needs: + # - XcodeBuild + # - SwiftBuild + # steps: + # - uses: actions/checkout@master + # - uses: ./.github/actions/setup-secrets + # with: + # okta_plist: "${{ secrets.TEST_OKTA_PLIST }}" + # test_configuration: "${{ secrets.TEST_CONFIGURATION }}" + # - name: Test + # run: | + # set -o pipefail && xcodebuild \ + # -derivedDataPath ../Build/DerivedData \ + # -clonedSourcePackagesDirPath ../Build/ClonedSources \ + # -resultBundlePath ~/TestResults/DeviceAuthSignIn-iOS.xcresult \ + # -workspace OktaMobileSDK.xcworkspace \ + # -scheme "DeviceAuthSignIn (iOS)" \ + # -sdk iphonesimulator \ + # -destination "$iOS_DESTINATION" \ + # test 2>&1 + # - name: Upload Test Results + # uses: actions/upload-artifact@v3 + # with: + # path: ~/TestResults/*.xcresult + # name: DeviceAuthSignIn-iOS-Results + # if-no-files-found: warn + # retention-days: 7 + # if: always() - UITest-DeviceAuthSignIntvOS: - name: Device Auth Sign In (tvOS) - runs-on: macos-12 - timeout-minutes: 10 - needs: - - XcodeBuild - - SwiftBuild - steps: - - uses: actions/checkout@master - - uses: ./.github/actions/setup-secrets - with: - okta_plist: "${{ secrets.TEST_OKTA_PLIST }}" - test_configuration: "${{ secrets.TEST_CONFIGURATION }}" - - name: Test - run: | - set -o pipefail && xcodebuild \ - -derivedDataPath ../Build/DerivedData \ - -clonedSourcePackagesDirPath ../Build/ClonedSources \ - -resultBundlePath ~/TestResults/DeviceAuthSignIn-tvOS.xcresult \ - -workspace OktaMobileSDK.xcworkspace \ - -scheme "DeviceAuthSignIn (tvOS)" \ - -sdk appletvsimulator \ - -destination "$tvOS_DESTINATION" \ - test 2>&1 - - name: Upload Test Results - uses: actions/upload-artifact@v3 - with: - path: ~/TestResults/*.xcresult - name: DeviceAuthSignIn-tvOS-Results - if-no-files-found: warn - retention-days: 7 - if: always() + #UITest-DeviceAuthSignIntvOS: + # name: Device Auth Sign In (tvOS) + # runs-on: macos-12 + # timeout-minutes: 10 + # needs: + # - XcodeBuild + # - SwiftBuild + # steps: + # - uses: actions/checkout@master + # - uses: ./.github/actions/setup-secrets + # with: + # okta_plist: "${{ secrets.TEST_OKTA_PLIST }}" + # test_configuration: "${{ secrets.TEST_CONFIGURATION }}" + # - name: Test + # run: | + # set -o pipefail && xcodebuild \ + # -derivedDataPath ../Build/DerivedData \ + # -clonedSourcePackagesDirPath ../Build/ClonedSources \ + # -resultBundlePath ~/TestResults/DeviceAuthSignIn-tvOS.xcresult \ + # -workspace OktaMobileSDK.xcworkspace \ + # -scheme "DeviceAuthSignIn (tvOS)" \ + # -sdk appletvsimulator \ + # -destination "$tvOS_DESTINATION" \ + # test 2>&1 + # - name: Upload Test Results + # uses: actions/upload-artifact@v3 + # with: + # path: ~/TestResults/*.xcresult + # name: DeviceAuthSignIn-tvOS-Results + # if-no-files-found: warn + # retention-days: 7 + # if: always() - UITest-UserPasswordSignInmacOS: - name: User Password Sign In (macOS) - runs-on: macos-12 - timeout-minutes: 10 - needs: - - XcodeBuild - - SwiftBuild - steps: - - uses: actions/checkout@master - - uses: ./.github/actions/setup-secrets - with: - okta_plist: "${{ secrets.TEST_OKTA_PLIST }}" - test_configuration: "${{ secrets.TEST_CONFIGURATION }}" - - name: Test - run: | - set -o pipefail && xcodebuild \ - -derivedDataPath ../Build/DerivedData \ - -clonedSourcePackagesDirPath ../Build/ClonedSources \ - -resultBundlePath ~/TestResults/UserPasswordSignIn.xcresult \ - -workspace OktaMobileSDK.xcworkspace \ - -sdk macosx \ - -scheme "UserPasswordSignIn (macOS)" \ - test 2>&1 - - name: Upload Test Results - uses: actions/upload-artifact@v3 - with: - path: ~/TestResults/*.xcresult - name: UserPasswordSignIn-Results - if-no-files-found: warn - retention-days: 7 - if: always() + #UITest-UserPasswordSignInmacOS: + # name: User Password Sign In (macOS) + # runs-on: macos-12 + # timeout-minutes: 10 + # needs: + # - XcodeBuild + # - SwiftBuild + # steps: + # - uses: actions/checkout@master + # - uses: ./.github/actions/setup-secrets + # with: + # okta_plist: "${{ secrets.TEST_OKTA_PLIST }}" + # test_configuration: "${{ secrets.TEST_CONFIGURATION }}" + # - name: Test + # run: | + # set -o pipefail && xcodebuild \ + # -derivedDataPath ../Build/DerivedData \ + # -clonedSourcePackagesDirPath ../Build/ClonedSources \ + # -resultBundlePath ~/TestResults/UserPasswordSignIn.xcresult \ + # -workspace OktaMobileSDK.xcworkspace \ + # -sdk macosx \ + # -scheme "UserPasswordSignIn (macOS)" \ + # test 2>&1 + # - name: Upload Test Results + # uses: actions/upload-artifact@v3 + # with: + # path: ~/TestResults/*.xcresult + # name: UserPasswordSignIn-Results + # if-no-files-found: warn + # retention-days: 7 + # if: always() - UITest-ClassicNativeAuthiOS: - name: Classic Native Auth (iOS) - runs-on: macos-12 - timeout-minutes: 20 - needs: - - XcodeBuild - - SwiftBuild - steps: - - uses: actions/checkout@master - - uses: ./.github/actions/setup-secrets - with: - okta_plist: "${{ secrets.TEST_OKTA_PLIST }}" - test_configuration: "${{ secrets.TEST_CONFIGURATION }}" - - name: Test - run: | - set -o pipefail && xcodebuild \ - -derivedDataPath ../Build/DerivedData \ - -clonedSourcePackagesDirPath ../Build/ClonedSources \ - -resultBundlePath ~/TestResults/ClassicNativeAuth.xcresult \ - -workspace OktaMobileSDK.xcworkspace \ - -scheme "ClassicNativeAuth (iOS)" \ - -sdk iphonesimulator \ - -destination "$iOS_DESTINATION" \ - test 2>&1 - - name: Upload Test Results - uses: actions/upload-artifact@v3 - with: - path: ~/TestResults/*.xcresult - name: ClassicNativeAuth-Results - if-no-files-found: warn - retention-days: 7 - if: always() + #UITest-ClassicNativeAuthiOS: + # name: Classic Native Auth (iOS) + # runs-on: macos-12 + # timeout-minutes: 20 + # needs: + # - XcodeBuild + # - SwiftBuild + # steps: + # - uses: actions/checkout@master + # - uses: ./.github/actions/setup-secrets + # with: + # okta_plist: "${{ secrets.TEST_OKTA_PLIST }}" + # test_configuration: "${{ secrets.TEST_CONFIGURATION }}" + # - name: Test + # run: | + # set -o pipefail && xcodebuild \ + # -derivedDataPath ../Build/DerivedData \ + # -clonedSourcePackagesDirPath ../Build/ClonedSources \ + # -resultBundlePath ~/TestResults/ClassicNativeAuth.xcresult \ + # -workspace OktaMobileSDK.xcworkspace \ + # -scheme "ClassicNativeAuth (iOS)" \ + # -sdk iphonesimulator \ + # -destination "$iOS_DESTINATION" \ + # test 2>&1 + # - name: Upload Test Results + # uses: actions/upload-artifact@v3 + # with: + # path: ~/TestResults/*.xcresult + # name: ClassicNativeAuth-Results + # if-no-files-found: warn + # retention-days: 7 + # if: always()