-
-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automate Android benchmark running / data processing (#2991)
- Loading branch information
Showing
18 changed files
with
724 additions
and
305 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 0 additions & 46 deletions
46
.github/workflows/android-device-test/upload-external-data.sh
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,20 +49,23 @@ jobs: | |
with: | ||
files: "${{ matrix.test.xcTestFile }}, ${{ matrix.test.ipaFile }}" | ||
|
||
- uses: ./.github/actions/aws-device-farm-run | ||
- name: Run ${{ matrix.test.name }} on AWS Device Farm | ||
if: steps.check_files.outputs.files_exists == 'true' | ||
with: | ||
name: ${{ matrix.test.name }} | ||
appType: IOS_APP | ||
appFile: ${{ matrix.test.ipaFile }} | ||
testFile: ${{ matrix.test.xcTestFile }} | ||
testPackageType: XCTEST_TEST_PACKAGE | ||
testType: XCTEST | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_ROLE_TO_ASSUME: ${{ vars.OIDC_AWS_ROLE_TO_ASSUME }} | ||
AWS_DEVICE_FARM_PROJECT_ARN: ${{ vars.AWS_DEVICE_FARM_PROJECT_ARN }} | ||
AWS_DEVICE_FARM_DEVICE_POOL_ARN: ${{ vars.AWS_DEVICE_FARM_IPHONE_DEVICE_POOL_ARN }} | ||
run: | | ||
export name="${{ matrix.test.name }}" | ||
export appType=IOS_APP | ||
export appFile="${{ matrix.test.ipaFile }}" | ||
export testFile="${{ matrix.test.xcTestFile }}" | ||
export testPackageType=XCTEST_TEST_PACKAGE | ||
export testType=XCTEST | ||
export AWS_ACCESS_KEY_ID="${{ secrets.AWS_ACCESS_KEY_ID }}" | ||
export AWS_SECRET_ACCESS_KEY="${{ secrets.AWS_SECRET_ACCESS_KEY }}" | ||
export AWS_ROLE_TO_ASSUME="${{ vars.OIDC_AWS_ROLE_TO_ASSUME }}" | ||
export AWS_DEVICE_FARM_PROJECT_ARN="${{ vars.AWS_DEVICE_FARM_PROJECT_ARN }}" | ||
export AWS_DEVICE_FARM_DEVICE_POOL_ARN="${{ vars.AWS_DEVICE_FARM_IPHONE_DEVICE_POOL_ARN }}" | ||
export wait_for_completion=true | ||
./scripts/aws-device-farm/aws-device-farm-run.sh | ||
- uses: LouisBrunner/[email protected] | ||
if: always() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
20.14.0 | ||
23 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.