From 8b3566f4e3c9f6b8010564ab07e8be22abff2542 Mon Sep 17 00:00:00 2001 From: Brittany Faciane <bfaciane@nrao.edu> Date: Wed, 17 May 2023 16:01:47 -0400 Subject: [PATCH] fix test template --- ci/unit-test.template.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ci/unit-test.template.yml b/ci/unit-test.template.yml index 7bd1f8ea3..041996bd7 100644 --- a/ci/unit-test.template.yml +++ b/ci/unit-test.template.yml @@ -6,8 +6,7 @@ image: ${BASE_REGISTRY_URL}/${SERVICE_NAME}:${IMAGE_TAG} script: - pip3 install pytest pytest-cov - - pytest test --cov=${SERVICE_NAME} --cov-report=html - - mv htmlcov ${CI_PROJECT_DIR}/${SERVICE_NAME}.htmlcov + - pytest ${CI_PROJECT_DIR}/${SERVICE_NAME}/test --cov=${SERVICE_NAME} --cov-report=html artifacts: paths: - .coverage.${SERVICE_NAME}.${CI_COMMIT_SHORT_SHA} -- GitLab