@@ -10,29 +10,17 @@ workflows:
1010 jobs :
1111 - build
1212
13- - linux_py_27_16 :
14- requires :
15- - build
16-
17- - linux_py_27_latest :
18- requires :
19- - build
20-
21- - linux_py_37 :
22- requires :
23- - build
24-
25- - linux_py_latest :
13+ - integration_test :
2614 requires :
2715 - build
16+ matrix :
17+ parameters :
18+ python-version : ["2.7.16", "2.7.18", "latest", "3.7.7"]
2819
2920 - hold :
3021 type : approval
3122 requires :
32- - linux_py_27_16
33- - linux_py_27_latest
34- - linux_py_37
35- - linux_py_latest
23+ - integration_test
3624
3725 filters :
3826 branches :
@@ -80,10 +68,10 @@ jobs:
8068 paths :
8169 - .
8270
83- linux_py_27_16 :
84- description : Linux 2.7.16
71+ integration_test :
72+ description : Python << parameters.node-version >>
8573 docker :
86- - image : circleci/python:2.7.16
74+ - image : circleci/python:<< parameters.node-version >>
8775
8876 steps :
8977 - attach_workspace :
@@ -100,66 +88,6 @@ jobs:
10088 command : |
10189 python /tmp/artifact/tests/integration.py
10290
103- linux_py_27_latest :
104- description : Linux 2.7.18
105- docker :
106- - image : circleci/python:2.7.18
107-
108- steps :
109- - attach_workspace :
110- at : /tmp/artifact
111- name : Attach build artifact
112-
113- - run :
114- name : Install package
115- command : |
116- pip install '/tmp/artifact'
117-
118- - run :
119- name : Run integration test
120- command : |
121- python /tmp/artifact/tests/integration.py
122-
123- linux_py_37 :
124- description : Linux 3.7.7
125- docker :
126- - image : circleci/python:3.7.7
127-
128- steps :
129- - attach_workspace :
130- at : /tmp/artifact
131- name : Attach build artifact
132-
133- - run :
134- name : Install package
135- command : |
136- pip install '/tmp/artifact'
137-
138- - run :
139- name : Run integration test
140- command : |
141- python /tmp/artifact/tests/integration.py
142-
143- linux_py_latest :
144- description : Linux latest
145- docker :
146- - image : circleci/python:latest
147-
148- steps :
149- - attach_workspace :
150- at : /tmp/artifact
151- name : Attach build artifact
152-
153- - run :
154- name : Install package
155- command : |
156- pip install '/tmp/artifact'
157-
158- - run :
159- name : Run integration test
160- command : |
161- python /tmp/artifact/tests/integration.py
162-
16391 upload_test_job :
16492 description : Upload test
16593 docker :
0 commit comments