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

try limiting CI unit testing imports

parent 3c8320ad
No related branches found
No related tags found
4 merge requests!1706merge 2.8.4 to main,!1642Playing with docker cleanup,!1614PIPELINE TESTING: Playing with shared/workspaces testing,!1613pipeline testing with poetry only services
Pipeline #14886 failed
......@@ -2,10 +2,9 @@
image: ${REGISTRY_URL}/workspaces/${SERVICE_NAME}:${IMAGE_TAG}
script:
- ls -la
- pip3 install --upgrade pip
- pip3 install -r test-requirements.txt
- cd ${PATH_PREFIX}${SERVICE_NAME}
- python3 -m pytest --cov=${SERVICE_NAME} --cov-report=
# use the image's poetry virtual environment and packages
- $(poetry env info -p)/bin/pytest --cov=${SERVICE_NAME} --cov-report=
- mv ./.coverage ${CI_PROJECT_DIR}/.coverage.${SERVICE_NAME}.${CI_COMMIT_SHORT_SHA}
artifacts:
paths:
......
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