From 3a115a33a53d695677256688306abd29c23fa3d0 Mon Sep 17 00:00:00 2001 From: Stephen Kilbourn Date: Fri, 10 May 2024 08:51:45 -0600 Subject: [PATCH] enable previously disabled test in dockerfile --- docker_tasks/build_stac/Dockerfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docker_tasks/build_stac/Dockerfile b/docker_tasks/build_stac/Dockerfile index 33024061..4e6d01d5 100644 --- a/docker_tasks/build_stac/Dockerfile +++ b/docker_tasks/build_stac/Dockerfile @@ -16,11 +16,11 @@ ENV GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR GDAL_MAX_DATASET_POOL_SIZE=1024 GDAL_ ## Test target -#FROM production AS test -# -#COPY requirements-test.txt requirements-test.txt -#RUN pip install -r requirements-test.txt -#RUN rm requirements-test.txt -# -#COPY tests ./tests -#CMD ["pytest", "tests"] +FROM production AS test + +COPY requirements-test.txt requirements-test.txt +RUN pip install -r requirements-test.txt +RUN rm requirements-test.txt + +COPY tests ./tests +CMD ["pytest", "tests"]