From 5d24fb16ed440fe6b6583ff23b40340f1aba29ee Mon Sep 17 00:00:00 2001 From: priyamsahoo Date: Mon, 12 Feb 2024 20:30:50 +0530 Subject: [PATCH] install xvfb before running in CI --- tools/vscode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/vscode.sh b/tools/vscode.sh index e6cc1962..cf10361b 100755 --- a/tools/vscode.sh +++ b/tools/vscode.sh @@ -24,7 +24,7 @@ cleanup() { if [[ -f "/usr/bin/apt-get" ]]; then trap "cleanup" SIGINT SIGTERM ERR EXIT - xvfb-run --auto-servernum task devel -- ../ansible-language-server + sudo apt-get -qq install -y xvfb && xvfb-run --auto-servernum task devel -- ../ansible-language-server else task devel -- ../ansible-language-server fi