From c8eb3ca55432833bf9b7d186e839720f41cee43f Mon Sep 17 00:00:00 2001
From: Samuel Gaist <samuel.gaist@idiap.ch>
Date: Wed, 5 May 2021 08:52:43 +0200
Subject: [PATCH] [conda] Add QT_QPA_PLATFORM to test environment variable

This will avoid having to set that at the all the projects level
that run builds since we want to use it in any case and whatever
the runner base OS is.
---
 conda/meta.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/conda/meta.yaml b/conda/meta.yaml
index 13cde729..8fc171e2 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -46,6 +46,9 @@ test:
   imports:
     - {{ name }}
 
+  script_env:
+    - QT_QPA_PLATFORM=offscreen
+
   commands:
     - beat editor --help
     - beat editor start --help
-- 
GitLab