Skip to content
Snippets Groups Projects
Commit 93ec68e4 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

try making shared/ tests runable by service

parent 952a627e
No related branches found
No related tags found
2 merge requests!1706merge 2.8.4 to main,!1614PIPELINE TESTING: Playing with shared/workspaces testing
......@@ -5,7 +5,8 @@
- cd ${PATH_PREFIX}${SERVICE_NAME}
# use the poetry virtual environment and packages
- poetry install --with test
- $(poetry env info -p)/bin/pytest --junitxml=tests.xml --cov=${SERVICE_NAME} --cov-report=
- pwd
- $(poetry env info -p)/bin/pytest --junitxml=tests.xml ../../${TEST_PREFIX2}{SERVICE_NAME} --cov=${SERVICE_NAME} --cov-report=
- mv ./.coverage ${CI_PROJECT_DIR}/.coverage.${SERVICE_NAME}.${CI_COMMIT_SHORT_SHA}
- mv ./tests.xml ${CI_PROJECT_DIR}/tests.${SERVICE_NAME}.${CI_COMMIT_SHORT_SHA}.xml
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment