3232 with :
3333 toolchain : stable
3434 override : true
35+ components : rustfmt, clippy
3536 - uses : davidB/rust-cargo-make@v1
3637 - name : Check formatting and clippy rules
3738 run : cargo make check
@@ -131,7 +132,7 @@ jobs:
131132 set -eo pipefail
132133 cargo make --cwd exec release-build
133134 cd test/exec
134- golem profile config local set-format json
135+ golem profile config local set-format json
135136 golem app -b release deploy
136137 golem agent invoke test:exec-js/test-1 test01 | jq -e '(.result_wave[0]=="true")'
137138 golem agent invoke test:exec-js/test-2 test02 | jq -e '(.result_wave[0]=="true")'
@@ -148,7 +149,7 @@ jobs:
148149 golem agent invoke test:exec-py/test-2 test2 | jq -e '(.result_wave[0]=="true")'
149150 golem agent invoke test:exec-py/test-3 test3 | jq -e '(.result_wave[0]=="true")'
150151 golem agent invoke test:exec-py/test-4 test4 | jq -e '(.result_wave[0]=="true")'
151- golem agent invoke test:exec-py/test-5 test5 | jq -e '(.result_wave[0]=="true")'
152+ golem agent invoke test:exec-py/test-5 test5 | jq -e '(.result_wave[0]=="true")'
152153 golem agent invoke test:exec-py/test-6 test6 | jq -e '(.result_wave[0]=="true")'
153154 golem agent invoke test:exec-py/test-7 test7 | jq -e '(.result_wave[0]=="true")'
154155
@@ -245,7 +246,7 @@ jobs:
245246 run : |
246247 set -e
247248 echo "Setting up graph database providers..."
248-
249+
249250 # ArangoDB
250251 echo "Starting ArangoDB..."
251252 docker run -d --name arangodb -e ARANGO_NO_AUTH=1 -p 8529:8529 -v arangodb_data:/var/lib/arangodb3 -v arangodb_apps:/var/lib/arangodb3-apps arangodb/arangodb:latest
@@ -255,14 +256,14 @@ jobs:
255256 -H "Content-Type: application/json" \
256257 -d '{"name": "test"}' || echo "Database might already exist"
257258 echo "ArangoDB is ready"
258-
259+
259260 # JanusGraph with Cassandra
260261 echo "Starting Cassandra for JanusGraph..."
261262 docker network create janus-net || true
262263 docker run -d --name cassandra --network janus-net -p 9042:9042 cassandra:3.11
263264 echo "Waiting for Cassandra to be ready..."
264265 timeout 60 bash -c 'until docker exec cassandra cqlsh -e "DESCRIBE KEYSPACES" > /dev/null 2>&1; do sleep 5; done'
265-
266+
266267 echo "Starting JanusGraph..."
267268 docker run -d --name janusgraph --network janus-net \
268269 -e storage.backend=cassandra \
@@ -271,7 +272,7 @@ jobs:
271272 -e GREMLIN_OPTS="-Dtx.max-commit-time=60000 -Dstorage.cassandra.read-consistency-level=ONE -Dstorage.cassandra.write-consistency-level=ONE" \
272273 -p 8182:8182 janusgraph/janusgraph:latest
273274 echo "JanusGraph is ready"
274-
275+
275276 # Setup Neo4j
276277 echo "Starting Neo4j..."
277278 docker run -d --name neo4j \
@@ -282,7 +283,7 @@ jobs:
282283 echo "Waiting for Neo4j to be ready..."
283284 timeout 120 bash -c 'until curl -f http://localhost:7474/ > /dev/null 2>&1; do sleep 5; done'
284285 echo "Neo4j is ready"
285-
286+
286287 echo "All graph database providers are ready!"
287288 - name : Install and Run latest Golem Server
288289 run : |
@@ -302,7 +303,7 @@ jobs:
302303 cargo make --cwd graph release-build-janusgraph
303304 cargo make --cwd graph release-build-neo4j
304305 cd test/graph
305-
306+
306307 echo "Testing ArangoDB integration..."
307308 golem app deploy -b arangodb-release test:graph test:helper
308309 golem agent new -e ARANGODB_HOST=localhost -e ARANGODB_USER="" -e ARANGODB_PASSWORD="" -e ARANGODB_PORT="8529" -e ARANGODB_DATABASE="test" test:graph/arangodb-1
@@ -314,8 +315,8 @@ jobs:
314315 golem agent invoke test:graph/arangodb-1 test6 | grep -v "ERROR: "
315316 golem agent invoke test:graph/arangodb-1 test7 | grep -v "ERROR: "
316317 echo "ArangoDB tests completed successfully"
317- golem app clean -b arangodb-release
318-
318+ golem app clean -b arangodb-release
319+
319320 echo "Testing JanusGraph integration..."
320321 golem app deploy -b janusgraph-release test:graph test:helper
321322 sleep 10
@@ -328,8 +329,8 @@ jobs:
328329 golem agent invoke test:graph/janusgraph-1 test6 | grep -v "ERROR: "
329330 golem agent invoke test:graph/janusgraph-1 test7 | grep -v "ERROR: "
330331 echo "JanusGraph tests completed successfully"
331- golem app clean -b janusgraph-release
332-
332+ golem app clean -b janusgraph-release
333+
333334 echo "Testing Neo4j integration..."
334335 golem app deploy -b neo4j-release test:graph test:helper
335336 sleep 10
@@ -342,7 +343,7 @@ jobs:
342343 golem agent invoke test:graph/neo4j-1 test6 | grep -v "ERROR: "
343344 golem agent invoke test:graph/neo4j-1 test7 | grep -v "ERROR: "
344345 echo "Neo4j tests completed successfully"
345- golem app clean -b neo4j-release
346+ golem app clean -b neo4j-release
346347
347348 echo "All graph integration tests completed successfully!"
348349
0 commit comments