From 2fa1c85e31c75724929afa6ff6724f03d037fd47 Mon Sep 17 00:00:00 2001
From: Janis Streib <me@janis-streib.de>
Date: Fri, 25 Feb 2022 15:35:00 +0100
Subject: [PATCH] FIX: install python3

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bcd72ac..6b2f2bc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,9 +17,10 @@ cache:
     - .cache/pip
 
 before_script:
+  - command -v python3 || apt-get -y install python3
   - python -V  # Print out python version for debugging
   - pip install build
-  - python3 -m venv || apt-get install python3-venv
+  - python3 -m venv || apt-get -y install python3-venv
 
 stages:
   - build
-- 
GitLab