File tree Expand file tree Collapse file tree 4 files changed +19
-3
lines changed
Expand file tree Collapse file tree 4 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -10,19 +10,35 @@ jobs:
1010 strategy :
1111 matrix :
1212 node-version : [22]
13+ python-version : [3.10]
1314
1415 steps :
1516 - name : Checkout code
1617 uses : actions/checkout@v4
18+
19+ - name : Set up Python
20+ uses : actions/setup-python@v4
21+ with :
22+ python-version : ${{ matrix.python-version }}
23+
24+ - name : Ensure pip is up to date
25+ run : python -m pip install --upgrade pip
26+
27+ - name : Install webgme_bindings Python module
28+ run : pip install -e python/webgme_bindings
29+
1730 - name : Start MongoDB
1831 uses : supercharge/mongodb-github-action@1.12.0
1932 with :
2033 mongodb-version : 8
34+
2135 - name : Set up Node.js
2236 uses : actions/setup-node@v3
2337 with :
2438 node-version : ${{ matrix.node-version }}
39+
2540 - name : Install dependencies
2641 run : npm install
42+
2743 - name : Run tests
2844 run : npm test
Original file line number Diff line number Diff line change 1010 * @author pmeijer / https://github.com/pmeijer
1111 */
1212
13- const zmq = require ( 'zeromq' ) ;
13+ const zmq = require ( 'zeromq/v5-compat ' ) ;
1414const Q = require ( 'q' ) ;
1515const pluginUtil = require ( 'webgme-engine/src/plugin/util' ) ;
1616
Original file line number Diff line number Diff line change 22// Connects REQ socket to tcp://localhost:5555
33// Sends "Hello" to server.
44
5- var zmq = require ( 'zeromq' ) ;
5+ var zmq = require ( 'zeromq/v5-compat ' ) ;
66
77// socket to talk to server
88console . log ( "Connecting to hello world server..." ) ;
Original file line number Diff line number Diff line change 22// Binds REP socket to tcp://*:5555
33// Expects "Hello" from client, replies with "world"
44
5- var zmq = require ( 'zeromq' ) ;
5+ var zmq = require ( 'zeromq/v5-compat ' ) ;
66
77// socket to talk to clients
88var responder = zmq . socket ( 'rep' ) ;
You can’t perform that action at this time.
0 commit comments