From ca3d63750d2bd8fde71bf56397633913d412e492 Mon Sep 17 00:00:00 2001
From: Volker Schukai <volker.schukai@schukai.com>
Date: Mon, 13 May 2024 00:20:37 +0200
Subject: [PATCH] fix: wip new pipeline

---
 nix/scripts/run-ci-tests.nix | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/nix/scripts/run-ci-tests.nix b/nix/scripts/run-ci-tests.nix
index 6bd9934be..f5cf83f4a 100644
--- a/nix/scripts/run-ci-tests.nix
+++ b/nix/scripts/run-ci-tests.nix
@@ -16,12 +16,20 @@
     cd ''${CI_PROJECT_DIR} || exit 1
     
     
-    ${pkgs.eza}/bin/eza -T
+    ${pkgs.eza}/bin/eza -T -L2
 
     echo "This script will run tests in the project working directory: ''${CI_PROJECT_DIR}"
     echo "The command is executed in the current working directory and not in a nix derivation."
 
     TEST_CASES_PATH="''${CI_PROJECT_DIR}/test/cases/"
+    
+    if ! ${pkgs.corepack}/bin/pnpm install
+    then
+       echo "Failed to install dependencies"
+       exit 1
+    fi
+
+    ${pkgs.eza}/bin/eza -T -L2
 
     if ! ${pkgs.nodePackages.mocha}/bin/mocha --colors --jobs 1 --bail --recursive ''${TEST_CASES_PATH}
     then
-- 
GitLab