From 8f3de079bcc09222b6cf39ebe5d4da2dfaf40efa Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Wed, 27 May 2020 21:25:17 +0100 Subject: [PATCH] Use --install to run_tests instead of manually running the installer --- azure-pipelines.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5fb2b08..d5e36a2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -45,20 +45,17 @@ stages: - task: CacheBeta@0 inputs: - key: v1 | gadgets | $(Agent.OS) | install_gadget.py + key: v2 | gadgets | $(Agent.OS) | python3/vimspector/installer.py path: gadgets/linux/download displayName: Cache gadgets - - bash: python3 install_gadget.py --all - displayName: 'Install gadgets - python3' - - bash: vim --version displayName: 'Print vim version information' - bash: | eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) export GOPATH=$HOME/go - ./run_tests --report messages --quiet + ./run_tests --install --report messages --quiet displayName: 'Run the tests' env: VIMSPECTOR_MIMODE: gdb @@ -92,17 +89,14 @@ stages: - task: CacheBeta@0 inputs: - key: v1 | gadgets | $(Agent.OS) | install_gadget.py + key: v2 | gadgets | $(Agent.OS) | python3/vimspector/installer.py path: gadgets/macos/download displayName: Cache gadgets - - bash: python3 install_gadget.py --all - displayName: 'Install gadgets - python3' - - bash: vim --version displayName: 'Print vim version information' - - bash: ./run_tests --report messages --quiet + - bash: ./run_tests --install --report messages --quiet displayName: 'Run the tests' env: VIMSPECTOR_MIMODE: lldb