Skip to content

Commit 60b02af

Browse files
committed
Update test dependencies
1 parent 86bd353 commit 60b02af

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

Dockerfile.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM debian:10-slim as builder
22
ENV LANG C.UTF-8
33
ENV DEBIAN_FRONTEND noninteractive
4-
RUN apt-get update && apt-get install --no-install-recommends -y python3-pip python3-setuptools python3-dev make gcc\
4+
RUN apt-get update -qq && apt-get install --no-install-recommends -y python3-pip python3-setuptools python3-dev make g++\
55
&& apt-get clean && rm -rf /var/lib/apt/lists/*
66
ADD requirements-dev.txt /tmp/
77
RUN pip3 install wheel && pip3 install -r /tmp/requirements-dev.txt
88
RUN mkdir /app
9-
WORKDIR /app
9+
WORKDIR /app

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ package:
3636
python3 setup.py sdist bdist_wheel
3737

3838
test:
39-
pytest --pep8 --cov -s
39+
docker build -f Dockerfile.test -t esdedupe-test .
40+
docker run -v $(shell pwd):/app --entrypoint /bin/bash -it esdedupe-test
4041

4142
clean:
4243
find . -name '*.pyc' -exec rm --force {} +

requirements-dev.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
ujson
2+
tqdm
3+
psutil
4+
requests
15
elasticsearch
26
mock
37
pytest

0 commit comments

Comments
 (0)