From e22b855071445bbcd7b6ce01b0f75169aedea37b Mon Sep 17 00:00:00 2001
From: chausman <chausman@nrao.edu>
Date: Mon, 25 Mar 2024 13:25:01 -0600
Subject: [PATCH] try limiting CI unit testing imports

---
 ci/unit-test.template.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ci/unit-test.template.yml b/ci/unit-test.template.yml
index 981fdc61b..c4f72726e 100644
--- a/ci/unit-test.template.yml
+++ b/ci/unit-test.template.yml
@@ -3,7 +3,8 @@
     script:
         - ls -la
         - 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=
         - mv ./.coverage ${CI_PROJECT_DIR}/.coverage.${SERVICE_NAME}.${CI_COMMIT_SHORT_SHA}
     artifacts:
-- 
GitLab