From 5741f3d391d4a30d046b163585586f5a9f93fff9 Mon Sep 17 00:00:00 2001
From: Florian Spreckelsen <f.spreckelsen@indiscale.com>
Date: Sun, 14 Apr 2024 12:34:04 +0200
Subject: [PATCH] PIPELINE: Install rust dependencies

---
 .gitlab-ci.yml | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 46a836bd..9ec1727d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -158,7 +158,19 @@ unittest_py3.13:
   tags: [cached-dind]
   stage: test
   image: python:3.13-rc
-  script: *python_test_script
+  script:
+    # TODO: Replace by '*python_test_script' as soon as 3.13 has been officially released.
+    - apt update && apt install -y cargo
+    # install dependencies
+    - pip install pytest pytest-cov
+    # TODO: Use f-branch logic here
+    - pip install git+https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git@dev
+    - pip install git+https://gitlab.indiscale.com/caosdb/src/caosdb-advanced-user-tools.git@dev
+    - pip install .[h5-crawler]
+    # actual test
+    - caosdb-crawler --help
+    - pytest --cov=caosdb -vv ./unittests
+
   
 inttest:
   tags: [docker]
-- 
GitLab