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

try limiting CI unit testing imports

parent c22fdc73
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 #14887 failed
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
script: script:
- ls -la - ls -la
- cd ${PATH_PREFIX}${SERVICE_NAME} - cd ${PATH_PREFIX}${SERVICE_NAME}
# use the image's poetry virtual environment and packages # use the poetry virtual environment and packages
- poetry install --with test
- $(poetry env info -p)/bin/pytest --cov=${SERVICE_NAME} --cov-report= - $(poetry env info -p)/bin/pytest --cov=${SERVICE_NAME} --cov-report=
- mv ./.coverage ${CI_PROJECT_DIR}/.coverage.${SERVICE_NAME}.${CI_COMMIT_SHORT_SHA} - mv ./.coverage ${CI_PROJECT_DIR}/.coverage.${SERVICE_NAME}.${CI_COMMIT_SHORT_SHA}
artifacts: 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