From 61aedfffe3f265423d590e5da7bf7c703d8d1f82 Mon Sep 17 00:00:00 2001
From: u214892 <u214892@sbb.ch>
Date: Thu, 4 Jul 2019 10:22:33 +0200
Subject: [PATCH] passenv XAUTHORITY for benchmarks and profiling

---
 .gitlab-ci.yml | 2 --
 tox.ini        | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f3bb42a..dc0bdd7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -55,8 +55,6 @@ benchmarks_and_profiling:
         - tests
     stage: benchmarks_and_profiling
     only:
-#        refs:
-#            - master
         variables:
             - $BENCHMARKS_AND_PROFILING
     script:
diff --git a/tox.ini b/tox.ini
index b64a20a..4d214b1 100644
--- a/tox.ini
+++ b/tox.ini
@@ -52,6 +52,7 @@ setenv =
     PYTHONPATH = {toxinidir}
 passenv =
     DISPLAY
+    XAUTHORITY
 ; HTTP_PROXY+HTTPS_PROXY required behind corporate proxies
     HTTP_PROXY
     HTTPS_PROXY
@@ -68,6 +69,7 @@ setenv =
     PYTHONPATH = {toxinidir}
 passenv =
     DISPLAY
+    XAUTHORITY
 ; HTTP_PROXY+HTTPS_PROXY required behind corporate proxies
     HTTP_PROXY
     HTTPS_PROXY
-- 
GitLab