diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4044770..f8281dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,47 +51,47 @@ jobs: -destination 'platform=macOS,arch=arm64' \ ONLY_ACTIVE_ARCH=NO \ CODE_SIGNING_ALLOWED=NO - iOS: - name: Test iOS - runs-on: macos-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 + # iOS: + # name: Test iOS + # runs-on: macos-latest + # steps: + # - name: Checkout repository + # uses: actions/checkout@v3 - - name: Configure Git credentials - run: | - git config --global url."https://x-access-token:${{ secrets.PKG_TOKEN }}@github.com/".insteadOf "https://github.com/" + # - name: Configure Git credentials + # run: | + # git config --global url."https://x-access-token:${{ secrets.PKG_TOKEN }}@github.com/".insteadOf "https://github.com/" - - name: Set up Ruby (for installing Bundler and Fastlane) - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.0' + # - name: Set up Ruby (for installing Bundler and Fastlane) + # uses: ruby/setup-ruby@v1 + # with: + # ruby-version: '3.0' - - name: Install dep via Carthage - run: | - carthage bootstrap --platform iOS --use-xcframeworks --cache-builds + # - name: Install dep via Carthage + # run: | + # carthage bootstrap --platform iOS --use-xcframeworks --cache-builds - - name: Install dependencies via Swift Package Manager - run: swift package resolve + # - name: Install dependencies via Swift Package Manager + # run: swift package resolve - - name: Set up Xcode - uses: maxim-lobanov/setup-xcode@v1 - with: - xcode-version: '16.4.0' - - name: Create config file - run: | - echo '{ - "api_key": "${{ secrets.api_key }}", - "delivery_token": "${{ secrets.delivery_token }}", - "environment": "${{ secrets.environment }}" - }' > Tests/config.json + # - name: Set up Xcode + # uses: maxim-lobanov/setup-xcode@v1 + # with: + # xcode-version: '16.4.0' + # - name: Create config file + # run: | + # echo '{ + # "api_key": "${{ secrets.api_key }}", + # "delivery_token": "${{ secrets.delivery_token }}", + # "environment": "${{ secrets.environment }}" + # }' > Tests/config.json - - name: Build and run tests - run: | - xcodebuild test \ - -workspace ContentstackSwift.xcworkspace \ - -scheme "ContentstackSwift iOS Tests" \ - -destination "platform=iOS Simulator,name=iPhone 16,OS=18.5" \ - -sdk iphonesimulator \ - ONLY_ACTIVE_ARCH=NO \ - CODE_SIGNING_ALLOWED=NO + # - name: Build and run tests + # run: | + # xcodebuild test \ + # -workspace ContentstackSwift.xcworkspace \ + # -scheme "ContentstackSwift iOS Tests" \ + # -destination "platform=iOS Simulator,name=iPhone 16,OS=18.5" \ + # -sdk iphonesimulator \ + # ONLY_ACTIVE_ARCH=NO \ + # CODE_SIGNING_ALLOWED=NO