Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[System tests] - Fix requirements #574

Merged
merged 1 commit into from Dec 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 2 additions & 4 deletions dockerfiles/test-system/Dockerfile
Expand Up @@ -24,11 +24,9 @@ RUN apt-get update && apt-get install -y \

RUN python -m pip install --upgrade pip

COPY ./dockerfiles/test-system/requirements.txt /tmp
RUN python -m pip install -r /tmp/requirements.txt && rm -f /tmp/requirements.txt
COPY . /tmp/mlrun
RUN pip install --upgrade pytest
COPY ./requirements.txt ./
RUN python -m pip install \
-r requirements.txt
RUN cd /tmp/mlrun && python -m pip install ".[api]" && mv tests /tests && cd /tmp && rm -rf mlrun

CMD ["pytest", "--capture=no", "-rf", "-v", "--disable-warnings", "/tests/system"]
1 change: 1 addition & 0 deletions dockerfiles/test-system/requirements.txt
@@ -1 +1,2 @@
pytest~=5.4
matplotlib~=3.0