Skip to content
Merged
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: 16 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,35 @@ jobs:
strategy:
matrix:
node-version: [22]
python-version: [3.13.5]

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Ensure pip is up to date
run: python -m pip install --upgrade pip

- name: Install webgme_bindings Python module
run: pip install -e python/webgme_bindings

- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.12.0
with:
mongodb-version: 8

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install

- name: Run tests
run: npm test
52 changes: 28 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@
"bindings": "^1.5.0",
"commander": "^11.1.0",
"q": "^1.5.1",
"zeromq": "^5.1.0"
"zeromq": "^6.5.0"
}
}
2 changes: 1 addition & 1 deletion src/corezmq.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @author pmeijer / https://github.com/pmeijer
*/

const zmq = require('zeromq');
const zmq = require('zeromq/v5-compat');
const Q = require('q');
const pluginUtil = require('webgme-engine/src/plugin/util');

Expand Down
2 changes: 1 addition & 1 deletion zmq/tutorial_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Connects REQ socket to tcp://localhost:5555
// Sends "Hello" to server.

var zmq = require('zeromq');
var zmq = require('zeromq/v5-compat');

// socket to talk to server
console.log("Connecting to hello world server...");
Expand Down
2 changes: 1 addition & 1 deletion zmq/tutorial_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Binds REP socket to tcp://*:5555
// Expects "Hello" from client, replies with "world"

var zmq = require('zeromq');
var zmq = require('zeromq/v5-compat');

// socket to talk to clients
var responder = zmq.socket('rep');
Expand Down