Skip to content

Commit

Permalink
test: update requirements for desktop and mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
nattb8 committed Nov 15, 2024
1 parent e5ddefe commit 281dbbb
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,28 @@ jobs:
with:
python-version: "3.10"
- name: Install dependencies
run: pip install -r "sample/Tests/requirements.txt"
run: |
if [[ "${{ matrix.targetPlatform }}" == "StandaloneOSX" || "${{ matrix.targetPlatform }}" == "StandaloneWindows64" ]]; then
pip install -r "sample/Tests/requirements-desktop.txt"
else
pip install -r "sample/Tests/requirements-mobile.txt"
fi
- name: Install dependencies (Windows)
if: ${{ matrix.targetPlatform == 'StandaloneWindows64' }}
shell: pwsh
run: |
if (${{ matrix.targetPlatform }} -eq "StandaloneWindows64") {
pip install -r "sample/Tests/requirements-desktop.txt"
}
- name: Install dependencies (Mac)
if: ${{ matrix.targetPlatform != 'StandaloneWindows64' }}
shell: bash
run: |
if [[ "${{ matrix.targetPlatform }}" == "StandaloneOSX" ]]; then
pip install -r "sample/Tests/requirements-desktop.txt"
else
pip install -r "sample/Tests/requirements-mobile.txt"
fi
- name: Run UI tests
env:
UNITY_APP_PATH: SampleApp.app
Expand Down
9 changes: 9 additions & 0 deletions sample/Tests/requirements-desktop.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
AltTester_Driver==2.1.1
google_api_python_client==2.136.0
google_auth_oauthlib==1.2.0
protobuf==5.27.2
selenium==4.22.0
pytest==8.2.2
requests==2.32.3
mailslurp-client==15.19.22
Appium-Python-Client
File renamed without changes.

0 comments on commit 281dbbb

Please sign in to comment.