ci: cleanup Electron dirs before running tests (#14989)
This commit is contained in:
parent
e06818e8c0
commit
0dbe27714c
1 changed files with 9 additions and 7 deletions
16
vsts.yml
16
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
|
||||
|
|
Loading…
Add table
Reference in a new issue