Skip to content
Snippets Groups Projects
Commit cd3a4fcb authored by Charlotte Hausman's avatar Charlotte Hausman Committed by Sam Kagan
Browse files

try limiting CI unit testing imports

parent 80b12407
No related branches found
No related tags found
2 merge requests!1706merge 2.8.4 to main,!1644docker & pipeline improvements
......@@ -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