From 20d8bc49335d8a49a3b9ea94f984a67d3e09bff2 Mon Sep 17 00:00:00 2001
From: chausman <chausman@nrao.edu>
Date: Wed, 5 Jun 2024 14:39:36 -0600
Subject: [PATCH] update for 2.8.4

---
 ci/unit-test.template.yml    | 2 +-
 services/workflow/Dockerfile | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/ci/unit-test.template.yml b/ci/unit-test.template.yml
index 50d327ed5..e04313df2 100644
--- a/ci/unit-test.template.yml
+++ b/ci/unit-test.template.yml
@@ -6,7 +6,7 @@
         # use the poetry virtual environment and packages
         - poetry install --with test
         - pwd
-        - $(poetry env info -p)/bin/pytest --junitxml=tests.xml ../../${TEST_PREFIX2}{SERVICE_NAME} --cov=${SERVICE_NAME} --cov-report=
+        - $(poetry env info -p)/bin/pytest . ../../${TEST_PREFIX2}{SERVICE_NAME} --junitxml=tests.xml --cov=${SERVICE_NAME} --cov=../../${PATH_PREFIX2}${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:
diff --git a/services/workflow/Dockerfile b/services/workflow/Dockerfile
index 35687677a..04fca2350 100644
--- a/services/workflow/Dockerfile
+++ b/services/workflow/Dockerfile
@@ -65,7 +65,6 @@ COPY --chown=vlapipe:vlapipe ./apps/cli ./apps/cli
 
 # Copy service directory to /code in the image
 # set ownership of content to vlapipe and the vlapipe group
-USER vlapipe
 COPY --chown=vlapipe:vlapipe ./services/workflow ./services/workflow
 WORKDIR /code/services/workflow
 RUN poetry install --with test
-- 
GitLab