@@ -65,13 +65,13 @@ jobs:
65
65
include :
66
66
- targetPlatform : StandaloneOSX
67
67
runs-on : [self-hosted, macOS]
68
- test_script : . /test_mac.sh
68
+ test_script : pytest -xs test /test_mac.py::MacTest
69
69
- targetPlatform : StandaloneWindows64
70
70
runs-on : [self-hosted, windows]
71
- test_script : . /test_windows.ps1
72
- - targetPlatform : Android
73
- runs-on : [ self-hosted, macOS ]
74
- test_script : browserstack-sdk pytest -s ./test/test_android.py --browserstack.config "browserstack.android.yml"
71
+ test_script : pytest -xs test /test_windows.py::WindowsTest
72
+ # - targetPlatform: Android
73
+ # runs-on: [ self-hosted, macOS ]
74
+ # test_script: browserstack-sdk pytest -s ./test/test_android.py --browserstack.config "browserstack.android.yml"
75
75
concurrency :
76
76
group : test-${{ matrix.targetPlatform }}
77
77
runs-on : ${{ matrix.runs-on }}
83
83
with :
84
84
name : Build-${{ matrix.targetPlatform }}
85
85
path : sample/Tests
86
+ - name : Make macOS artifact executable
87
+ if : ${{ matrix.targetPlatform == 'StandaloneOSX' }}
88
+ run : chmod +x sample/Tests/SampleApp.app/Contents/MacOS/*
86
89
- uses : actions/setup-python@v4
87
90
with :
88
91
python-version : " 3.10"
@@ -107,26 +110,26 @@ jobs:
107
110
BROWSERSTACK_ACCESS_KEY : ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
108
111
working-directory : sample/Tests
109
112
run : ${{ matrix.test_script }}
110
- test-ios :
111
- name : Run iOS UI tests 🧪
112
- runs-on : [ self-hosted, macOS ]
113
- steps :
114
- - uses : actions/checkout@v3
115
- with :
116
- lfs : true
117
- - name : build iOS app
118
- working-directory : sample
119
- run : ./build_ios.sh
120
- - uses : actions/setup-python@v4
121
- with :
122
- python-version : " 3.10"
123
- - name : Install dependencies
124
- run : pip install -r "sample/Tests/requirements.txt"
125
- - name : Run UI tests
126
- env :
127
- MAILSLURP_API_KEY : ${{ secrets.MAILSLURP_API_KEY }}
128
- BROWSERSTACK_USERNAME : ${{ secrets.BROWSERSTACK_USERNAME }}
129
- BROWSERSTACK_ACCESS_KEY : ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
130
- working-directory : sample/Tests
131
- run : browserstack-sdk pytest -s ./test/test_ios.py --browserstack.config "browserstack.ios.yml"
113
+ # test-ios:
114
+ # name: Run iOS UI tests 🧪
115
+ # runs-on: [ self-hosted, macOS ]
116
+ # steps:
117
+ # - uses: actions/checkout@v3
118
+ # with:
119
+ # lfs: true
120
+ # - name: build iOS app
121
+ # working-directory: sample
122
+ # run: ./build_ios.sh
123
+ # - uses: actions/setup-python@v4
124
+ # with:
125
+ # python-version: "3.10"
126
+ # - name: Install dependencies
127
+ # run: pip install -r "sample/Tests/requirements.txt"
128
+ # - name: Run UI tests
129
+ # env:
130
+ # MAILSLURP_API_KEY: ${{ secrets.MAILSLURP_API_KEY }}
131
+ # BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
132
+ # BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
133
+ # working-directory: sample/Tests
134
+ # run: browserstack-sdk pytest -s ./test/test_ios.py --browserstack.config "browserstack.ios.yml"
132
135
0 commit comments