Skip to content

Commit 281dbbb

Browse files
committed
test: update requirements for desktop and mobile
1 parent e5ddefe commit 281dbbb

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

.github/workflows/ui-tests.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,28 @@ jobs:
8686
with:
8787
python-version: "3.10"
8888
- name: Install dependencies
89-
run: pip install -r "sample/Tests/requirements.txt"
89+
run: |
90+
if [[ "${{ matrix.targetPlatform }}" == "StandaloneOSX" || "${{ matrix.targetPlatform }}" == "StandaloneWindows64" ]]; then
91+
pip install -r "sample/Tests/requirements-desktop.txt"
92+
else
93+
pip install -r "sample/Tests/requirements-mobile.txt"
94+
fi
95+
- name: Install dependencies (Windows)
96+
if: ${{ matrix.targetPlatform == 'StandaloneWindows64' }}
97+
shell: pwsh
98+
run: |
99+
if (${{ matrix.targetPlatform }} -eq "StandaloneWindows64") {
100+
pip install -r "sample/Tests/requirements-desktop.txt"
101+
}
102+
- name: Install dependencies (Mac)
103+
if: ${{ matrix.targetPlatform != 'StandaloneWindows64' }}
104+
shell: bash
105+
run: |
106+
if [[ "${{ matrix.targetPlatform }}" == "StandaloneOSX" ]]; then
107+
pip install -r "sample/Tests/requirements-desktop.txt"
108+
else
109+
pip install -r "sample/Tests/requirements-mobile.txt"
110+
fi
90111
- name: Run UI tests
91112
env:
92113
UNITY_APP_PATH: SampleApp.app

sample/Tests/requirements-desktop.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
AltTester_Driver==2.1.1
2+
google_api_python_client==2.136.0
3+
google_auth_oauthlib==1.2.0
4+
protobuf==5.27.2
5+
selenium==4.22.0
6+
pytest==8.2.2
7+
requests==2.32.3
8+
mailslurp-client==15.19.22
9+
Appium-Python-Client
File renamed without changes.

0 commit comments

Comments
 (0)