Skip to content

Commit

Permalink
centralize requirements for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiasini committed Oct 15, 2019
1 parent a0c37c7 commit 7434c5c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 25 deletions.
10 changes: 7 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
libusb1 == 1.6.6
hexdump
pycrypto
tqdm
numpy==1.17.2
hexdump>=3.3
pycrypto==2.6.1
tqdm>=4.14.0
nose
parameterized
requests
flake8==3.7.8
pylint==2.4.2
cffi==1.11.4
1 change: 0 additions & 1 deletion tests/language/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ RUN pyenv install 3.7.3
RUN pyenv global 3.7.3
RUN pyenv rehash

COPY tests/safety/requirements.txt /panda/tests/safety/requirements.txt
COPY . /panda
4 changes: 2 additions & 2 deletions tests/linter_python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ RUN pyenv install 3.7.3
RUN pyenv global 3.7.3
RUN pyenv rehash

COPY tests/linter_python/requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY requirements.txt /tmp/
RUN pip install -r /tmp/requirements.txt
COPY . /panda
11 changes: 0 additions & 11 deletions tests/linter_python/requirements.txt

This file was deleted.

4 changes: 2 additions & 2 deletions tests/misra/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:16.04

RUN apt-get update && apt-get install -y make python python-pip git
COPY tests/safety/requirements.txt /panda/tests/safety/requirements.txt
RUN pip install -r /panda/tests/safety/requirements.txt
COPY requirements.txt /tmp/
RUN pip install -r /tmp/requirements.txt
COPY . /panda
5 changes: 3 additions & 2 deletions tests/safety/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN pyenv install 3.7.3
RUN pyenv global 3.7.3
RUN pyenv rehash

COPY tests/safety/requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY requirements.txt /tmp/
RUN pip install -r /tmp/requirements.txt

COPY . /panda
4 changes: 0 additions & 4 deletions tests/safety/requirements.txt

This file was deleted.

0 comments on commit 7434c5c

Please sign in to comment.