diff --git a/.docker/Dockerfile b/.docker/Dockerfile index c2356aba114c906bdd6dd2938c6ebb4acec6ab57..e1fdffb5ee8202ae1d08b0f079b9fd4be4755027 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -11,6 +11,7 @@ RUN apt-get update && \ ARG PYLIB RUN echo "PYLIB=${PYLIB}" COPY .docker/wait-for-it.sh /wait-for-it.sh +RUN pip install -r requirements.txt ADD https://gitlab.indiscale.com/api/v4/projects/97/repository/commits/${PYLIB} \ pylib_version.json RUN git clone https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git && \ @@ -31,4 +32,4 @@ CMD /wait-for-it.sh caosdb-server:10443 -t 500 -- \ cp /git/.docker/sss_pylinkahead.ini /scripting/home/.pylinkahead.ini && \ cp -r /git/resources /scripting/bin-debug && \ # ... and run tests - tox + pytest --cov=linkahead -vv {posargs} diff --git a/requirements.txt b/requirements.txt index 93393f0042a4c12a1163cec1a697a603b4d43411..b30d9a9204a04f5c842b126721a77f104a11a140 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,6 @@ +jsonschema linkahead -pytest \ No newline at end of file +pytest +pytest-cov +python-dateutil +setuptools