4141
4242 # TODO:
4343 # - Training Studio
44- # - Muse
4544 # - Echo
4645 # - StreamLit / Gradio
4746 # - All homepage & docs apps
5150 ' App: Flashy ' :
5251 name : " flashy"
5352 repo : " https://github.com/Lightning-AI/LAI-Flashy-App.git"
54- ' App: Jupyter ' :
53+ ' App: Muse ' :
54+ name : " stable-diffusion"
55+ repo : " https://github.com/Lightning-AI/stable-diffusion-deploy.git"
56+ ' Component: Jupyter ' :
5557 name : " jupyter"
5658 repo : " https://github.com/Lightning-AI/LAI-Jupyter-Component.git"
5759 timeoutInMinutes : " 25"
@@ -72,14 +74,17 @@ jobs:
7274 - bash : |
7375 whoami
7476 mkdir -p tests/_flagships
75- mkdir -p $(video_artifact_dir)
77+ mkdir -p $(video_artifact_dir)/$(name)
7678 printf "local id: $(local_id)\n"
7779 python --version
7880 pip --version
7981 displayName: 'Info'
8082
81- - script : pip install -e .[cloud,test] -f https://download.pytorch.org/whl/cpu/torch_stable.html
82- displayName : ' Install Lightning & dependencies'
83+ - script : |
84+ pip install -q -r .actions/requirements.txt
85+ python .actions/assistant.py copy_replace_imports \
86+ --source_dir="./tests" --source_import="lightning_app" --target_import="lightning.app"
87+ displayName: 'Adjust testing'
8388
8489 - script : |
8590 pip install playwright
@@ -95,15 +100,25 @@ jobs:
95100 pip install -e .
96101 workingDirectory: tests/_flagships/$(name)
97102 condition: eq(variables['name'], 'flashy')
98- displayName: 'adjust env for Flashy'
103+ displayName: 'adjust env -> Flashy'
104+
105+ - script : |
106+ pip install -e _flagships/$(name)
107+ cp _flagships/$(name)/tests/test_app.py integrations_app/flagship/test_stable-diffusion.py
108+ workingDirectory: tests/
109+ condition: eq(variables['name'], 'stable-diffusion')
110+ displayName: 'adjust env -> Muse'
99111
100112 - script : |
101113 pip install -e _flagships/$(name)
102114 # pip install -r _flagships/$(name)/tests/requirements-dev.txt
103115 cp _flagships/$(name)/tests/test_jupyter_app.py integrations_app/flagship/test_jupyter.py
104116 workingDirectory: tests/
105117 condition: eq(variables['name'], 'jupyter')
106- displayName: 'adjust env for Jupyter'
118+ displayName: 'adjust env -> Jupyter'
119+
120+ - script : pip install -e .[cloud,test] -f https://download.pytorch.org/whl/cpu/torch_stable.html
121+ displayName : ' Install Lightning & dependencies'
107122
108123 - bash : pip --version && pip list
109124 displayName : ' List pip dependency'
0 commit comments