@@ -30,13 +30,23 @@ jobs:
3030 name : Run unit tests
3131 runs-on : ubuntu-22.04
3232 timeout-minutes : 120
33+ strategy :
34+ matrix :
35+ python :
36+ - " 3.10"
3337
3438 steps :
3539 - uses : actions/checkout@v3
3640 - name : Use Node.js 18
3741 uses : actions/setup-node@v3
3842 with :
3943 node-version : 18
44+
45+ - name : Use Python ${{ matrix.python }}
46+ uses : actions/setup-python@v3
47+ with :
48+ python-version : ${{ matrix.python }}
49+
4050 - name : Run Test
4151 run : |
4252 ./tests/run-unit-tests.sh
@@ -73,13 +83,20 @@ jobs:
7383 - arm64
7484 nodejs :
7585 - 18
86+ python :
87+ - " 3.10"
7688 steps :
7789 - uses : actions/checkout@v3
7890 - name : Use Node.js ${{ matrix.nodejs }}
7991 uses : actions/setup-node@v3
8092 with :
8193 node-version : ${{ matrix.nodejs }}
8294 cache : ' npm'
95+
96+ - name : Use Python ${{ matrix.python }}
97+ uses : actions/setup-python@v3
98+ with :
99+ python-version : ${{ matrix.python }}
83100
84101 - name : Cache Dependencies
85102 id : cache-dependencies
@@ -196,6 +213,8 @@ jobs:
196213 - x86
197214 nodejs :
198215 - 18
216+ python :
217+ - " 3.10"
199218 steps :
200219 - uses : actions/checkout@v3
201220 - name : Use Node.js ${{ matrix.nodejs }}
@@ -205,6 +224,11 @@ jobs:
205224 architecture : ${{ matrix.arch }}
206225 cache : ' npm'
207226
227+ - name : Use Python ${{ matrix.python }}
228+ uses : actions/setup-python@v3
229+ with :
230+ python-version : ${{ matrix.python }}
231+
208232 - name : Cache CPP Client
209233 id : cache-dependencies
210234 uses : actions/cache@v3
@@ -246,13 +270,21 @@ jobs:
246270 timeout-minutes : 3000
247271 strategy :
248272 fail-fast : false
273+ matrix :
274+ python :
275+ - " 3.10"
276+
249277 steps :
250278 - uses : actions/checkout@v3
251279 - name : Use Node.js 18
252280 uses : actions/setup-node@v3
253281 with :
254282 node-version : 18
255283 cache : ' npm'
284+ - name : Use Python ${{ matrix.python }}
285+ uses : actions/setup-python@v3
286+ with :
287+ python-version : ${{ matrix.python }}
256288 - name : Install CPP lib
257289 run : |
258290 export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=true
@@ -276,13 +308,23 @@ jobs:
276308 timeout-minutes : 3000
277309 strategy :
278310 fail-fast : false
311+ matrix :
312+ python :
313+ - " 3.10"
314+
279315 steps :
280316 - uses : actions/checkout@v3
281317 - name : Use Node.js 18
282318 uses : actions/setup-node@v3
283319 with :
284320 node-version : 18
285321 cache : ' npm'
322+
323+ - name : Use Python ${{ matrix.python }}
324+ uses : actions/setup-python@v3
325+ with :
326+ python-version : ${{ matrix.python }}
327+
286328 - name : Install CPP lib
287329 run : |
288330 source pulsar-client-cpp.txt
0 commit comments