From 355b739335004207b1e1404c839c04ec31006c31 Mon Sep 17 00:00:00 2001
From: Soeren Peters <peters@irmb.tu-bs.de>
Date: Mon, 15 Aug 2022 16:09:34 +0000
Subject: [PATCH] Fix fieldcompare path. Install rich. Install python venv.

---
 .gitlab-ci.yml                         | 1 +
 regression-tests/driven_cavity_test.sh | 2 +-
 regression-tests/regression-tests.sh   | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 787d92733..13339c434 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -288,6 +288,7 @@ run-regression-tests:
     - linux
 
   before_script:
+    - apt install python3.8-venv
     - chmod +x ./regression-tests/*
 
   script:
diff --git a/regression-tests/driven_cavity_test.sh b/regression-tests/driven_cavity_test.sh
index e99d761f3..eb91cfbc8 100755
--- a/regression-tests/driven_cavity_test.sh
+++ b/regression-tests/driven_cavity_test.sh
@@ -13,4 +13,4 @@ PATH_TO_DIR=output/DrivenCavity
 PATH_TO_REFERENCE_DIR=regression-tests/reference_data/regression_tests_gpu/DrivenCavity
 
 
-~/.local/bin/fieldcompare dir $PATH_TO_DIR --reference $PATH_TO_REFERENCE_DIR --include-files "*.vtu"
\ No newline at end of file
+fieldcompare dir $PATH_TO_DIR --reference $PATH_TO_REFERENCE_DIR --include-files "*.vtu"
\ No newline at end of file
diff --git a/regression-tests/regression-tests.sh b/regression-tests/regression-tests.sh
index 91e7a14b1..90d944bf7 100755
--- a/regression-tests/regression-tests.sh
+++ b/regression-tests/regression-tests.sh
@@ -6,6 +6,7 @@ git clone https://github.com/irmb/test_data regression-tests/reference_data
 python3 -m venv .venv
 source .venv/bin/activate
 
+pip install rich
 pip install git+https://github.com/soerenPeters/meshio@update-pyproject-version
 pip install git+https://gitlab.com/dglaeser/fieldcompare
 
-- 
GitLab