File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
- name : Instrumented tests
1
+ name : Catroid UI Test Pipeline
2
2
3
3
on :
4
4
push :
@@ -36,14 +36,17 @@ jobs:
36
36
- name : Build APKs
37
37
run : ./gradlew -Pindependent='#${{ github.run_number }} ${{ github.ref_name }}' assembleAndroidTest assembleDebug
38
38
39
+ - name : Debug APK paths
40
+ run : find . -name "*.apk"
41
+
39
42
# see https://www.browserstack.com/docs/app-automate/espresso/getting-started
40
43
- name : Upload App APK to BrowserStack
41
44
id : upload_app
42
45
run : |
43
46
RESPONSE=$(curl -s -u "$BROWSERSTACK_USERNAME:$BROWSERSTACK_ACCESS_KEY" \
44
47
-X POST "https://api-cloud.browserstack.com/app-automate/espresso/v2/app" \
45
- -F "file=@app /build/outputs/apk/debug/app -debug.apk")
46
-
48
+ -F "file=@catroid /build/outputs/apk/catroid/ debug/catroid-catroid -debug.apk")
49
+
47
50
echo "$RESPONSE" | tee app_upload_response.json
48
51
echo "APP_URL=$(jq -r '.app_url' <<< "$RESPONSE")" >> $GITHUB_ENV
49
52
52
55
run : |
53
56
RESPONSE=$(curl -s -u "$BROWSERSTACK_USERNAME:$BROWSERSTACK_ACCESS_KEY" \
54
57
-X POST "https://api-cloud.browserstack.com/app-automate/espresso/v2/test-suite" \
55
- -F "file=@app /build/outputs/apk/androidTest/debug/app -debug-androidTest.apk")
56
-
58
+ -F "file=@catroid /build/outputs/apk/androidTest/catroid/ debug/catroid-catroid -debug-androidTest.apk")
59
+
57
60
echo "$RESPONSE" | tee test_upload_response.json
58
61
echo "TEST_URL=$(jq -r '.test_suite_url' <<< "$RESPONSE")" >> $GITHUB_ENV
59
62
You can’t perform that action at this time.
0 commit comments