From 27b87a29c449a5ff6f53c28959cb970b4d246f70 Mon Sep 17 00:00:00 2001
From: Akos Kitta <a.kitta@arduino.cc>
Date: Wed, 13 Dec 2023 15:52:49 +0100
Subject: [PATCH] fix(ci): run tests with a `$DISPLAY` for the release build

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
---
 .github/workflows/deploy.yml | 2 +-
 package.json                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 139404f..68b97e6 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -29,7 +29,7 @@ jobs:
       - name: Install dependencies
         run: yarn
       - name: Test
-        run: yarn test
+        run: xvfb-run yarn test-all
       - name: Package
         run: yarn package
 
diff --git a/package.json b/package.json
index e8bb201..980b33f 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
 {
   "private": true,
   "name": "vscode-arduino-tools",
-  "version": "0.1.0",
+  "version": "0.1.1",
   "description": "Arduino Tools extension for VS Code",
   "license": "Apache-2.0",
   "author": "Arduino SA",