Remove slashes from AWS Device Farm uploads (#1930)
This commit is contained in:
@@ -112,7 +112,7 @@ runs:
|
||||
--app-arn ${{ env.app_arn }} \
|
||||
--device-pool-arn ${{ inputs.AWS_DEVICE_FARM_DEVICE_POOL_ARN }} \
|
||||
--test type=${{ inputs.testType }},testPackageArn=${{ env.test_package_arn }}${{ inputs.testFilter && ',filter=' }}${{ inputs.testFilter }} \
|
||||
--execution-configuration jobTimeoutMinutes=28800,videoCapture=false \
|
||||
--execution-configuration jobTimeoutMinutes=480,videoCapture=false \
|
||||
${{ inputs.externalData && '--configuration extraDataPackageArn=' }}${{ inputs.externalData }} \
|
||||
--output text --query "run.arn")"
|
||||
|
||||
|
||||
12
.github/workflows/android-ci.yml
vendored
12
.github/workflows/android-ci.yml
vendored
@@ -118,19 +118,23 @@ jobs:
|
||||
echo "No secrets.MAPLIBRE_DEVELOPER_CONFIG_XML variable set, not copying..."
|
||||
fi
|
||||
|
||||
- name: Build Benchmark
|
||||
- name: Build Benchmark, copy to platform/android
|
||||
if: github.ref != 'refs/heads/main'
|
||||
run: |
|
||||
./gradlew assembleDrawableRelease assembleDrawableReleaseAndroidTest
|
||||
cp MapboxGLAndroidSDKTestApp/build/outputs/apk/drawable/release/MapboxGLAndroidSDKTestApp-drawable-release.apk .
|
||||
cp MapboxGLAndroidSDKTestApp/build/outputs/apk/androidTest/drawable/release/MapboxGLAndroidSDKTestApp-drawable-release-androidTest.apk .
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
|
||||
- name: Create artifact for benchmark APKs
|
||||
uses: actions/upload-artifact@v3
|
||||
if: github.ref != 'refs/heads/main'
|
||||
with:
|
||||
if-no-files-found: error
|
||||
name: benchmarkAPKs
|
||||
path: |
|
||||
platform/android/MapboxGLAndroidSDKTestApp/build/outputs/apk/drawable/release/MapboxGLAndroidSDKTestApp-drawable-release.apk
|
||||
platform/android/MapboxGLAndroidSDKTestApp/build/outputs/apk/androidTest/drawable/release/MapboxGLAndroidSDKTestApp-drawable-release-androidTest.apk
|
||||
platform/android/MapboxGLAndroidSDKTestApp-drawable-release.apk
|
||||
platform/android/MapboxGLAndroidSDKTestApp-drawable-release-androidTest.apk
|
||||
|
||||
- name: Build UI tests
|
||||
if: github.ref == 'refs/heads/main'
|
||||
|
||||
4
.github/workflows/android-device-test.yml
vendored
4
.github/workflows/android-device-test.yml
vendored
@@ -14,8 +14,8 @@ jobs:
|
||||
{artifactName: android-render-tests, testFile: RenderTests.apk, appFile: RenderTestsApp.apk, name: "Android Render Tests"},
|
||||
{
|
||||
artifactName: benchmarkAPKs,
|
||||
testFile: "androidTest/drawable/release/MapboxGLAndroidSDKTestApp-drawable-release-androidTest.apk",
|
||||
appFile: "drawable/release/MapboxGLAndroidSDKTestApp-drawable-release.apk",
|
||||
testFile: "MapboxGLAndroidSDKTestApp-drawable-release-androidTest.apk",
|
||||
appFile: "MapboxGLAndroidSDKTestApp-drawable-release.apk",
|
||||
name: "Android Benchmark",
|
||||
testFilter: "org.maplibre.android.benchmark.Benchmark",
|
||||
# echo '{"styleNames": [...], "styleURLs": [...], "resultsAPI: "..." }' > benchmark-input.json
|
||||
|
||||
Reference in New Issue
Block a user