Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/ci-build-release-napi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,21 @@ jobs:
- arm64
nodejs:
- 18
python:
- "3.10"
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.nodejs }}
uses: actions/setup-node@v3
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
Expand Down Expand Up @@ -162,6 +169,8 @@ jobs:
- x86
nodejs:
- 18
python:
- "3.10"
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.nodejs }}
Expand All @@ -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
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/ci-pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,23 @@ jobs:
name: Run unit tests
runs-on: ubuntu-22.04
timeout-minutes: 120
strategy:
matrix:
python:
- "3.10"

steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
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
Expand Down Expand Up @@ -73,13 +83,20 @@ jobs:
- arm64
nodejs:
- 18
python:
- "3.10"
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.nodejs }}
uses: actions/setup-node@v3
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
Expand Down Expand Up @@ -196,6 +213,8 @@ jobs:
- x86
nodejs:
- 18
python:
- "3.10"
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.nodejs }}
Expand All @@ -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
Expand Down Expand Up @@ -246,13 +270,21 @@ jobs:
timeout-minutes: 3000
strategy:
fail-fast: false
matrix:
python:
- "3.10"

steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
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
Expand All @@ -276,13 +308,23 @@ jobs:
timeout-minutes: 3000
strategy:
fail-fast: false
matrix:
python:
- "3.10"

steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
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
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

-->

test
# Pulsar Node.js client library

The Pulsar Node.js client can be used to create Pulsar producers and consumers in Node.js. For the supported Pulsar features, see [Client Feature Matrix](https://pulsar.apache.org/client-feature-matrix/).
Expand Down