Skip to content

Commit

Permalink
run on both 14+ and 13
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Jul 17, 2024
1 parent 6834932 commit 50ca46f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,20 @@ jobs:
with:
role-to-assume: arn:aws:iam::976188456881:role/CI_DEVICE_FARM_ROLE
aws-region: us-west-2
- name: Execute device farm test
- name: Execute device farm iOS Highly Available
run: |
cd aws-crt-swift/Test/IntegrationTests/MqttClient
pip install -r ./DeviceFarmScript/requirements.txt
ls
python ./DeviceFarmScript/run_ios_ci.py \
--run_id ${{ github.run_id }} \
--run_attempt ${{ github.run_attempt }} \
--project_arn $(aws secretsmanager get-secret-value --region us-east-1 --secret-id "ci/DeviceFarm/ProjectArn" --query "SecretString" | cut -f2 -d\") \
--device_pool_arn $(aws secretsmanager get-secret-value --region us-east-1 --secret-id "ci/DeviceFarm/iOSPoolArn" --query "SecretString" | cut -f2 -d\") \
--app_file_path ./output/MqttClient.ipa \
--test_file_path ./workspace/test_bundle.zip \
--test_spec_file_path ./DeviceFarmScript/test_spec.yml
- name: Execute device farm iOS 13
run: |
cd aws-crt-swift/Test/IntegrationTests/MqttClient
pip install -r ./DeviceFarmScript/requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def test_mqtt(self, event_loop_tests):
sleep(10)
# put the application in background
self.driver.background_app(-1)
# Wait to see if the connection is interrupted
sleep(15)

def perform_click_element(self, element_id):
try:
Expand Down

0 comments on commit 50ca46f

Please sign in to comment.