This is an automated email from the ASF dual-hosted git repository.

baodi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-node.git


The following commit(s) were added to refs/heads/master by this push:
     new 801e5ce  [ci] use python-3.10 (#353)
801e5ce is described below

commit 801e5cea4a1cb4e218773b2cbb226a7518a25385
Author: hrsakai <hsa...@yahoo-corp.jp>
AuthorDate: Thu Nov 16 16:36:19 2023 +0900

    [ci] use python-3.10 (#353)
---
 .github/workflows/ci-build-release-napi.yml | 16 ++++++++++-
 .github/workflows/ci-pr-validation.yml      | 42 +++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci-build-release-napi.yml 
b/.github/workflows/ci-build-release-napi.yml
index 3f9e5e7..73e4ae3 100644
--- a/.github/workflows/ci-build-release-napi.yml
+++ b/.github/workflows/ci-build-release-napi.yml
@@ -41,6 +41,8 @@ jobs:
           - arm64
         nodejs:
           - 18
+        python:
+          - "3.10"
     steps:
       - uses: actions/checkout@v3
       - name: Use Node.js ${{ matrix.nodejs }}
@@ -48,7 +50,12 @@ jobs:
         with:
           node-version: ${{ matrix.nodejs }}
           cache: 'npm'
-
+          
+      - name: Use Python ${{ matrix.python }}
+        uses: actions/setup-python@v3
+        with:
+          python-version: ${{ matrix.python }}
+          
       - name: Cache Dependencies
         id: cache-dependencies
         uses: actions/cache@v3
@@ -162,6 +169,8 @@ jobs:
           - x86
         nodejs:
           - 18
+        python:
+          - "3.10"
     steps:
       - uses: actions/checkout@v3
       - name: Use Node.js ${{ matrix.nodejs }}
@@ -171,6 +180,11 @@ jobs:
           architecture: ${{ matrix.arch }}
           cache: 'npm'
 
+      - name: Use Python ${{ matrix.python }}
+        uses: actions/setup-python@v3
+        with:
+          python-version: ${{ matrix.python }}
+
       - name: Cache CPP Client
         id: cache-dependencies
         uses: actions/cache@v3
diff --git a/.github/workflows/ci-pr-validation.yml 
b/.github/workflows/ci-pr-validation.yml
index 1d6cc95..eb10968 100644
--- a/.github/workflows/ci-pr-validation.yml
+++ b/.github/workflows/ci-pr-validation.yml
@@ -30,6 +30,10 @@ jobs:
     name: Run unit tests
     runs-on: ubuntu-22.04
     timeout-minutes: 120
+    strategy:
+      matrix:
+        python:
+          - "3.10"
 
     steps:
       - uses: actions/checkout@v3
@@ -37,6 +41,12 @@ jobs:
         uses: actions/setup-node@v3
         with:
           node-version: 18
+
+      - name: Use Python ${{ matrix.python }}
+        uses: actions/setup-python@v3
+        with:
+          python-version: ${{ matrix.python }}
+          
       - name: Run Test
         run: |
           ./tests/run-unit-tests.sh
@@ -73,6 +83,8 @@ jobs:
           - arm64
         nodejs:
           - 18
+        python:
+          - "3.10"
     steps:
       - uses: actions/checkout@v3
       - name: Use Node.js ${{ matrix.nodejs }}
@@ -80,6 +92,11 @@ jobs:
         with:
           node-version: ${{ matrix.nodejs }}
           cache: 'npm'
+          
+      - name: Use Python ${{ matrix.python }}
+        uses: actions/setup-python@v3
+        with:
+          python-version: ${{ matrix.python }}
 
       - name: Cache Dependencies
         id: cache-dependencies
@@ -196,6 +213,8 @@ jobs:
           - x86
         nodejs:
           - 18
+        python:
+          - "3.10"
     steps:
       - uses: actions/checkout@v3
       - name: Use Node.js ${{ matrix.nodejs }}
@@ -205,6 +224,11 @@ jobs:
           architecture: ${{ matrix.arch }}
           cache: 'npm'
 
+      - name: Use Python ${{ matrix.python }}
+        uses: actions/setup-python@v3
+        with:
+          python-version: ${{ matrix.python }}
+
       - name: Cache CPP Client
         id: cache-dependencies
         uses: actions/cache@v3
@@ -246,6 +270,10 @@ jobs:
     timeout-minutes: 3000
     strategy:
       fail-fast: false
+      matrix:
+        python:
+          - "3.10"
+
     steps:
       - uses: actions/checkout@v3
       - name: Use Node.js 18
@@ -253,6 +281,10 @@ jobs:
         with:
           node-version: 18
           cache: 'npm'
+      - name: Use Python ${{ matrix.python }}
+        uses: actions/setup-python@v3
+        with:
+          python-version: ${{ matrix.python }}
       - name: Install CPP lib
         run: |
           export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=true
@@ -276,6 +308,10 @@ jobs:
     timeout-minutes: 3000
     strategy:
       fail-fast: false
+      matrix:
+        python:
+          - "3.10"
+          
     steps:
       - uses: actions/checkout@v3
       - name: Use Node.js 18
@@ -283,6 +319,12 @@ jobs:
         with:
           node-version: 18
           cache: 'npm'
+
+      - name: Use Python ${{ matrix.python }}
+        uses: actions/setup-python@v3
+        with:
+          python-version: ${{ matrix.python }}
+          
       - name: Install CPP lib
         run: |
           source pulsar-client-cpp.txt

Reply via email to