From cc15fbe2b3e12e2c7758b0b95b2fbc3294d7b35d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de>
Date: Tue, 5 Apr 2022 08:48:27 +0000
Subject: [PATCH] Update .gitlab-ci.yml file

---
 .gitlab-ci.yml | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1e3658c..56134df 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,17 +28,18 @@ cache:
 build-job:
   stage: build
   script:
-  - echo "Installing environment..."
-  - apt-get -y update
-  - apt-get -y install python3 virtualenv python3-setuptools
-  - virtualenv -p python3 ansible
-  - source ansible/bin/activate
-  - pip install ansible
+    - echo "Installing environment..."
+    - apt-get -y update
+    - apt-get -y install python3 virtualenv python3-setuptools
+    - virtualenv -p python3 ansible
+    - source ansible/bin/activate
+    - pip install ansible
 
 unit-test-job:   # This job runs in the test stage.
   stage: test    # It only starts when the job in the build stage completes successfully.
   script:
     - echo "Running unit tests..."
+    - apt-get -y install python3
     - source ansible/bin/activate
     - which ansible-playbook
     - which python
-- 
GitLab