File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
- .PHONY : all build test integration-test unit-test
1
+ .PHONY : all build test integration-test unit-test build-py3 unit-test-py3 integration-test-py3
2
2
3
3
HOST_TMPDIR =test -n "$(TMPDIR ) " && echo $(TMPDIR ) || echo /tmp
4
4
@@ -7,10 +7,19 @@ all: test
7
7
build :
8
8
docker build -t docker-py .
9
9
10
- test : unit-test integration-test
10
+ build-py3 :
11
+ docker build -t docker-py3 -f Dockerfile-py3 .
12
+
13
+ test : unit-test integration-test unit-test-py3 integration-test-py3
11
14
12
15
unit-test : build
13
16
docker run docker-py python tests/test.py
14
17
18
+ unit-test-py3 : build-py3
19
+ docker run docker-py3 python tests/test.py
20
+
15
21
integration-test : build
16
22
docker run -e NOT_ON_HOST=true -v ` $( HOST_TMPDIR) ` :/tmp -v /var/run/docker.sock:/var/run/docker.sock docker-py python tests/integration_test.py
23
+
24
+ integration-test-py3 : build-py3
25
+ docker run -e NOT_ON_HOST=true -v ` $( HOST_TMPDIR) ` :/tmp -v /var/run/docker.sock:/var/run/docker.sock docker-py3 python tests/integration_test.py
You can’t perform that action at this time.
0 commit comments