Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.

chore: Mark AWS SDK for iOS as deprecated #809

chore: Mark AWS SDK for iOS as deprecated

chore: Mark AWS SDK for iOS as deprecated #809

Workflow file for this run

name: Integration Test
on:
workflow_dispatch:
workflow_call:
inputs:
identifier:
required: true
type: string
pull_request:
branches:
- main
permissions:
id-token: write
contents: read
concurrency:
group: ${{ inputs.identifier || github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
validation:
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request || (github.event.pull_request.user.login == 'awsmobilesdk' || contains(fromJSON('["OWNER", "MEMBER"]'), github.event.pull_request.author_association)) }}
steps:
- run: echo "Integration Tests can be run"
integration-test:
needs: [validation]
name: Integration Test
environment: IntegrationTest
strategy:
fail-fast: false
matrix:
scheme:
- AWSMobileClient
- AWSAutoScaling
- AWSCloudWatch
- AWSComprehend
- AWSCore
- AWSDynamoDB
- AWSEC2
- AWSElasticLoadBalancing
- AWSIoT
- AWSKMS
- AWSKinesis
- AWSKinesisVideoSignaling
- AWSLambda
- AWSLex
- AWSLocation
- AWSPinpoint
- AWSPolly
- AWSRekognition
- AWSS3
- AWSSES
- AWSSNS
- AWSSQS
- AWSTextract
- AWSTranscribe
- AWSTranscribeStreaming
- AWSTranslate
include:
- project: AWSiOSSDKv2.xcodeproj
- project: AWSAuthSDK/AWSAuthSDK.xcodeproj
scheme: AWSMobileClient
runs-on: macos-15
steps:
- name: Checkout code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
ref: ${{ github.event.pull_request.head.sha || github.ref_name }}
persist-credentials: false
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df # v4.2.1
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
role-duration-seconds: 3600
aws-region: us-east-1
role-session-name: "integ-test.${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}"
- name: Build testconfiguration
run: ./Scripts/generate-test-config.sh -p ios -v
shell: bash
- name: ${{ matrix.scheme }}
run: |
xcodebuild test -project ${{ matrix.project }} \
-scheme ${{ matrix.scheme }} \
-sdk iphonesimulator \
-destination "platform=iOS Simulator,name=iPhone 16 Pro,arch=x86_64,OS=latest" \
-parallel-testing-enabled NO \
-only-testing:"${{ matrix.scheme }}Tests" | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]}
- name: Additional AWSMobileClient integration test targets
if: ${{ matrix.scheme == 'AWSMobileClient' }}
run: |
xcodebuild test -project ${{ matrix.project }} \
-scheme ${{ matrix.scheme }} \
-sdk iphonesimulator \
-destination "platform=iOS Simulator,name=iPhone 16 Pro,arch=x86_64,OS=latest" \
-parallel-testing-enabled NO \
-only-testing:AWSMobileClientCustomAuthTests | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]}