From 0dbe27714cfe44a0223cdc0cde7c85392aca2400 Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Fri, 5 Oct 2018 11:06:46 -0400 Subject: [PATCH] ci: cleanup Electron dirs before running tests (#14989) --- vsts.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/vsts.yml b/vsts.yml index a058238117..063897a050 100644 --- a/vsts.yml +++ b/vsts.yml @@ -85,14 +85,16 @@ jobs: if pgrep Electron; then killall Electron fi + rm -rf ~/Library/Saved\ Application\ State/com.github.electron.savedState + rm -rf ~/Library/Application\ Support/Electron displayName: Make sure Electron isn't running from previous tests -# FIXME(alexeykuzmin) -# - bash: | -# cd src -# python electron/script/verify-ffmpeg.py --source-root "$PWD" --build-dir out/Default --ffmpeg-path out/ffmpeg -# displayName: Verify non proprietary ffmpeg -# condition: and(succeeded(), eq(variables['RUN_TESTS'], '1')) -# timeoutInMinutes: 5 + + - bash: | + cd src + python electron/script/verify-ffmpeg.py --source-root "$PWD" --build-dir out/Default --ffmpeg-path out/ffmpeg + displayName: Verify non proprietary ffmpeg + condition: and(succeeded(), eq(variables['RUN_TESTS'], '1')) + timeoutInMinutes: 5 - bash: | cd src