From f748a731b2620ee376c7245201c3ebc58b4760a6 Mon Sep 17 00:00:00 2001 From: Martin Weise <martin.weise@tuwien.ac.at> Date: Sun, 7 Jan 2024 15:56:05 +0100 Subject: [PATCH] Fixed test command --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5b18e37f52..95c5dcc1a0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,7 +31,7 @@ build-analyse-service: stage: build script: - "pip install pipenv" - - "cd dbrepo-analyse-service && pipenv install --system --deploy" + - "cd ./dbrepo-analyse-service && pipenv install --system --deploy" build-data-service: image: maven:3-openjdk-17 @@ -111,7 +111,8 @@ test-analyse-service: needs: - build-analyse-service script: - - "pip install -r ./dbrepo-analyse-service/requirements.txt" + - "pip install pipenv" + - "cd ./dbrepo-analyse-service && pipenv install --system --deploy" - "cd ./dbrepo-analyse-service/ && coverage run -m pytest test/test_determine_dt.py test/test_determine_pk.py --junitxml=report.xml && coverage html && coverage report > ./coverage.txt" - "cat ./coverage.txt | grep -o 'TOTAL[^%]*%'" artifacts: -- GitLab