File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -9,5 +9,7 @@ COPY setup.py .
9
9
COPY requirements.txt .
10
10
COPY README.md .
11
11
COPY twilio ./twilio
12
+ COPY tests ./tests
12
13
13
14
RUN pip install .
15
+ RUN pip install -r tests/requirements.txt
Original file line number Diff line number Diff line change 1
- .PHONY : clean install analysis test test-install develop docs docs-install
1
+ .PHONY : clean install analysis test test-install test-docker develop docs docs-install
2
2
3
3
venv :
4
4
@python --version || (echo " Python is not installed, Python 3.6+" ; exit 1);
@@ -10,6 +10,10 @@ install: venv
10
10
test-install : install
11
11
. venv/bin/activate; pip install -r tests/requirements.txt
12
12
13
+ test-docker :
14
+ docker build -t twilio/twilio-python .
15
+ docker run twilio/twilio-python pytest tests
16
+
13
17
develop : venv
14
18
. venv/bin/activate; pip install -e . --use-mirrors
15
19
. venv/bin/activate; pip install -r tests/requirements.txt
You can’t perform that action at this time.
0 commit comments