File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 68
68
- targetPlatform : StandaloneWindows64
69
69
runs-on : [self-hosted, windows]
70
70
test_script : test_windows.ps1
71
+ - targetPlatform : Android
72
+ runs-on : [ self-hosted, macOS ]
73
+ test_script : pytest test/test_android.py
71
74
concurrency :
72
75
group : test-${{ matrix.targetPlatform }}
73
76
runs-on : ${{ matrix.runs-on }}
89
92
UNITY_APP_PATH : SampleApp.app
90
93
UNITY_APP_NAME : SampleApp
91
94
MAILSLURP_API_KEY : ${{ secrets.MAILSLURP_API_KEY }}
95
+ BROWSERSTACK_USERNAME : ${{ secrets.BROWSERSTACK_USERNAME }}
96
+ BROWSERSTACK_ACCESS_KEY : ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
92
97
working-directory : sample/Tests
93
- run : ./ ${{ matrix.test_script }}
98
+ run : ${{ matrix.test_script }}
94
99
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ source: pytest-browserstack:sample-sdk:v1.0
26
26
# Set `app` to define the app that is to be used for testing.
27
27
# It can either take the id of any uploaded app or the path of the app directly.
28
28
# app: ./WikipediaSample.apk
29
- app : ./build/output/Android/ SampleApp.apk # For running local tests
29
+ app : SampleApp.apk # For running local tests
30
30
31
31
# =======================================
32
32
# Platforms (Browsers / Devices to test)
Original file line number Diff line number Diff line change @@ -36,11 +36,6 @@ def setUpClass(cls):
36
36
@classmethod
37
37
def tearDownClass (cls ):
38
38
print ("\n Ending" )
39
- try :
40
- AltReversePortForwarding .remove_reverse_port_forwarding_android ()
41
- print ("Reverse port forwarding removed" )
42
- except :
43
- print ("No adb forward was present" )
44
39
cls .altdriver .stop ()
45
40
cls .appium_driver .quit ()
46
41
You can’t perform that action at this time.
0 commit comments