From c9d8189850de548f0222cd8917fce09d6261a6e1 Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Wed, 6 Mar 2024 14:23:44 +0000
Subject: [PATCH] check test before uploading

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 261b6ec..461b629 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,7 +15,8 @@ upload:
   stage: deploy
   rules:
     - if: $CI_COMMIT_TAG
-  needs: []
+  needs:
+    - run_tests
   image: python:3.11
   variables:
     REPO_URL: "${PRIVATE_REGISTRY_API_URL}"
-- 
GitLab