Skip to content
Snippets Groups Projects
Verified Commit 08e537cb authored by Martin Weise's avatar Martin Weise
Browse files
parent 75e0d606
No related branches found
No related tags found
No related merge requests found
...@@ -302,9 +302,11 @@ test-auth-service-init: ...@@ -302,9 +302,11 @@ test-auth-service-init:
stage: test stage: test
variables: variables:
PIPENV_PIPFILE: "./dbrepo-auth-service/init/Pipfile" PIPENV_PIPFILE: "./dbrepo-auth-service/init/Pipfile"
script: before_script:
- "apk add --no-cache alpine-sdk gcc python3-dev mariadb-connector-c-dev"
- "pip install pipenv" - "pip install pipenv"
- "pipenv install gunicorn && pipenv install --dev --system --deploy" - "pipenv install gunicorn && pipenv install --dev --system --deploy"
script:
- cd ./dbrepo-auth-service/init/ && coverage run -m pytest test/test_unit_app.py --junitxml=report.xml && coverage html --omit="test/*" && coverage report --omit="test/*" > ./coverage.txt - cd ./dbrepo-auth-service/init/ && coverage run -m pytest test/test_unit_app.py --junitxml=report.xml && coverage html --omit="test/*" && coverage report --omit="test/*" > ./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