Skip to content

Commit 7ff297b

Browse files
authored
Fix App tests (#14922)
1 parent 688a6da commit 7ff297b

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.azure/app-cloud-e2e.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,15 @@ jobs:
9797
path: $(pip_cache_dir)
9898
displayName: Cache pip
9999

100-
- bash: python -m pip install -e . --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
101-
displayName: 'Install lightning'
100+
- bash: git restore . && python -m pip install -e . --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
101+
displayName: 'Install lightning app'
102+
env:
103+
PACKAGE_NAME: app
104+
105+
- bash: git restore . && python -m pip install -e . --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
106+
displayName: 'Install pytorch lightning'
107+
env:
108+
PACKAGE_NAME: pytorch
102109

103110
- bash: python -m pip install -r requirements/app/test.txt -r requirements/app/ui.txt
104111
displayName: 'Install dependencies'

requirements/app/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pytest-cov <=3.0.0
66
playwright==1.22.0
77
# pytest-flake8
88
httpx
9-
trio
9+
trio<0.22.0
1010
pympler
1111
psutil
1212
setuptools<=59.5.0

0 commit comments

Comments
 (0)