Skip to content
Snippets Groups Projects
Verified Commit f748a731 authored by Martin Weise's avatar Martin Weise
Browse files

Fixed test command

parent e610edb5
No related branches found
No related tags found
3 merge requests!231CI: Remove build for log-service,!228Better error message handling in the frontend,!223Release of version 1.4.0
...@@ -31,7 +31,7 @@ build-analyse-service: ...@@ -31,7 +31,7 @@ build-analyse-service:
stage: build stage: build
script: script:
- "pip install pipenv" - "pip install pipenv"
- "cd dbrepo-analyse-service && pipenv install --system --deploy" - "cd ./dbrepo-analyse-service && pipenv install --system --deploy"
build-data-service: build-data-service:
image: maven:3-openjdk-17 image: maven:3-openjdk-17
...@@ -111,7 +111,8 @@ test-analyse-service: ...@@ -111,7 +111,8 @@ test-analyse-service:
needs: needs:
- build-analyse-service - build-analyse-service
script: 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" - "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[^%]*%'" - "cat ./coverage.txt | grep -o 'TOTAL[^%]*%'"
artifacts: artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment