From 95019adf69151d70b2e092f507d5368b641f3e15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@ericsson.com>
Date: Mon, 2 Sep 2024 09:32:12 +0200
Subject: [PATCH] fail faster

---
 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0291fd2..9a15077 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,13 +21,16 @@ stress_test:
 
 unittest:
   stage: test
+  image: python:3.11
   services:
     - name: rabbitmq:3-management
       alias: rabbitmq
   before_script:
+    - python setup.py install
+    - pip install --break-system-packages nose2 coverage
     - coverage run --append -m compile_definitions
   script:
-    - coverage run --append -m nose2 -vv
+    - coverage run --append -m nose2 -F -vv
   after_script:
     - mv .coverage .coverage.units
   artifacts:
-- 
GitLab