File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ variables:
40
40
value : $(Pipeline.Workspace)/.pip
41
41
- name : local_id
42
42
value : $(Build.BuildId)
43
+ - name : video_artifact_dir
44
+ value : ./videos
43
45
44
46
jobs :
45
47
- job : App_cloud_e2e_testing
86
88
87
89
- bash : |
88
90
whoami
91
+ mkdir -p $(video_artifact_dir)
89
92
printf "local id: $(local_id)\n"
90
93
python --version
91
94
pip --version
@@ -150,7 +153,7 @@ jobs:
150
153
HEADLESS: '1'
151
154
PACKAGE_LIGHTNING: '1'
152
155
CLOUD: '1'
153
- VIDEO_LOCATION: '$(Build.ArtifactStagingDirectory)/videos'
156
+ VIDEO_LOCATION: $(video_artifact_dir)
154
157
PR_NUMBER: $(local_id)
155
158
TEST_APP_NAME: $(name)
156
159
HAR_LOCATION: './artifacts/hars'
@@ -164,10 +167,12 @@ jobs:
164
167
LIGHTNING_DEBUG: '1'
165
168
displayName: 'Run the tests'
166
169
167
- - publish : ' $(Build.ArtifactStagingDirectory)/videos '
170
+ - task : PublishPipelineArtifact@1
168
171
condition : failed()
172
+ inputs :
173
+ path : $(video_artifact_dir)
174
+ artifactName : $(name)
169
175
displayName : ' Publish videos'
170
- artifact : $(name)
171
176
172
177
- bash : |
173
178
time python -c "from lightning.app import testing; testing.delete_cloud_lightning_apps()"
Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
check :
11
- uses :
Lightning-AI/devtools/.github/workflows/[email protected]
11
+ uses :
Lightning-AI/utilities/.github/workflows/[email protected]
12
+ with :
13
+ # skip azure due to the wrong schema file by MSFT
14
+ # https://github.com/Lightning-AI/lightning-flash/pull/1455#issuecomment-1244793607
15
+ azure-dir : ' '
You can’t perform that action at this time.
0 commit comments