Skip to content

Commit

Permalink
Merge branch 'master' of github.com:deric/es-dedupe
Browse files Browse the repository at this point in the history
  • Loading branch information
deric committed Sep 29, 2021
2 parents 14be448 + 60b02af commit ccb9730
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.test
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM debian:10-slim as builder
ENV LANG C.UTF-8
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install --no-install-recommends -y python3-pip python3-setuptools python3-dev make gcc\
RUN apt-get update -qq && apt-get install --no-install-recommends -y python3-pip python3-setuptools python3-dev make g++\
&& apt-get clean && rm -rf /var/lib/apt/lists/*
ADD requirements-dev.txt /tmp/
RUN pip3 install wheel && pip3 install -r /tmp/requirements-dev.txt
RUN mkdir /app
WORKDIR /app
WORKDIR /app
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ package:
python3 setup.py sdist bdist_wheel

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

clean:
find . -name '*.pyc' -exec rm --force {} +
Expand Down
4 changes: 4 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
ujson
tqdm
psutil
requests
elasticsearch
mock
pytest
Expand Down

0 comments on commit ccb9730

Please sign in to comment.