diff options
author | zmiao <miao.zhao@mapbox.com> | 2020-01-16 13:45:00 +0200 |
---|---|---|
committer | zmiao <miao.zhao@mapbox.com> | 2020-01-21 16:55:02 +0200 |
commit | 31ed0375e68f153c59884039b93e9a5d8a58296d (patch) | |
tree | b210bb8e28dbc17f5f658935b0417102a6adb2c3 | |
parent | 6ae918092e09c1e68cba786d0baddbe940fa7663 (diff) | |
download | qtlocation-mapboxgl-31ed0375e68f153c59884039b93e9a5d8a58296d.tar.gz |
update circle ci when condition to check if test report is available or not
-rw-r--r-- | circle.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/circle.yml b/circle.yml index a12e15616e..f4860b82ac 100644 --- a/circle.yml +++ b/circle.yml @@ -741,9 +741,10 @@ jobs: cp ../RenderTestApp_iphoneos13.2-arm64e-release.xctestrun . zip testapp.zip -r Release-iphoneos/RenderTestApp.app zip testapp.zip RenderTestApp_iphoneos13.2-arm64e-release.xctestrun + gcloud firebase test ios models list gcloud firebase test ios run \ --test testapp.zip \ - --device model=iphonexs,version=12.1,locale=en,orientation=portrait --xcode-version=11.1 --timeout 20m \ + --device model=iphonexs,version=12.3,locale=en,orientation=portrait --xcode-version=11.1 --timeout 20m \ --verbosity=debug --no-record-video --results-dir ios-render-test-app-${CIRCLE_BUILD_NUM} fi - run: @@ -751,13 +752,13 @@ jobs: when: always command: | if [[ -n "${GCLOUD_SERVICE_ACCOUNT_JSON_IOS}" ]]; then - testResult=$(gsutil ls -d gs://test-lab-hn7kwqcz3108z-hjm4qtbqqkymk/ios-render-test-app-${CIRCLE_BUILD_NUM}/iphonexs-12.1-en-portrait/TestLogs/) + testResult=$(gsutil ls -d gs://test-lab-hn7kwqcz3108z-hjm4qtbqqkymk/ios-render-test-app-${CIRCLE_BUILD_NUM}/iphonexs-12.3-en-portrait/TestLogs/) mkdir -p render-test-app gsutil -m cp -r $testResult render-test-app cd render-test-app/TestLogs && ls xcparse attachments *.xcresult cd ../.. && mkdir -p /tmp/tests/ios-render-test - cp render-test-app/TestLogs/*.html /tmp/tests/ios-render-test + if ls render-test-app/TestLogs/*.html 1> /dev/null 2>&1; then cp render-test-app/TestLogs/*.html /tmp/tests/ios-render-test; fi fi - next-save next-android-benchmark-runner: |