From 6e678655c9b989f9df4f20aeacbed3aaab7ff6ec Mon Sep 17 00:00:00 2001
From: Chris Pastl <chris@crispybits.app>
Date: Thu, 14 Mar 2024 22:53:28 +0100
Subject: [PATCH] ci: add install_requirements for running tests

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9c4f9a53..8b78ea52 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,6 +12,12 @@ stages:
   - deploy
   - release
 
+.install_requirements: &install_requirements
+  - apt-get -qq update
+  - apt-get -y install curl pip
+  - python3 -m pip install --upgrade pip
+  - pip install poetry
+  - poetry install --no-interaction
 
 build-openapi-scheme:
   stage: build
-- 
GitLab