diff --git a/.azure/app-cloud-e2e.yml b/.azure/app-cloud-e2e.yml index aed2cd07b9..a8c66f420d 100644 --- a/.azure/app-cloud-e2e.yml +++ b/.azure/app-cloud-e2e.yml @@ -122,11 +122,13 @@ jobs: displayName: 'Run the tests' - publish: '$(Build.ArtifactStagingDirectory)/videos' + condition: failed() displayName: 'Publish videos' artifact: $(name) - bash: | time python -c "from lightning.app import testing; testing.delete_cloud_lightning_apps()" + condition: always() env: # LAI_USER: $(LAI_USER) # LAI_PASS: $(LAI_PASS)