From bd27b919ce5e051c0a68c6b909a4f751b760cc26 Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Tue, 10 Dec 2019 15:51:54 +0100
Subject: [PATCH] [CI] Install dependencies globally as root

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4a6e91302..1ee6d0151 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,7 +19,7 @@ test:
   before_script:
     - adduser --disabled-password --gecos "Test User" testuser
   script:
-    - sudo -u testuser sh -c 'poetry export --without-hashes --dev -f requirements.txt | eatmydata pip install -r /dev/stdin'
+    - poetry export --without-hashes --dev -f requirements.txt | pip install -r /dev/stdin
     - sudo -u testuser eatmydata tox
 
 build_dist:
-- 
GitLab