Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
remove tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mfleader committed Oct 12, 2023
1 parent 5e1c28f commit 4792c31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 72 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ RUN python -m poetry install --without dev --no-root \
&& python -m poetry export -f requirements.txt --output requirements.txt --without-hashes

COPY ${package}/ /app/${package}
COPY tests /app/${package}/tests
# COPY tests /app/${package}/tests

ENV PYTHONPATH /app/${package}
WORKDIR /app/${package}

# Run tests and return coverage analysis
RUN python -m coverage run tests/test_${package}.py \
&& python -m coverage html -d /htmlcov --omit=/usr/local/*
# RUN python -m coverage run tests/test_${package}.py \
# && python -m coverage html -d /htmlcov --omit=/usr/local/*


# STAGE 2 -- Build final plugin image
FROM quay.io/arcalot/arcaflow-plugin-baseimage-python-osbase:0.3.1@sha256:0e9384416ad5dd8810c410a87c283ca29a368fc85592378b85261fce5f9ecbeb
ARG package

COPY --from=build /app/requirements.txt /app/
COPY --from=build /htmlcov /htmlcov/
# COPY --from=build /htmlcov /htmlcov/
COPY LICENSE /app/
COPY README.md /app/
COPY ${package}/ /app/${package}
Expand Down
68 changes: 0 additions & 68 deletions tests/test_arcaflow_plugin_wait.py

This file was deleted.

0 comments on commit 4792c31

Please sign in to comment.