Skip to content

Commit e66e8b5

Browse files
authored
Update Neo4j versions on test matrix (#297)
* Update Neo4j versions on test matrix * Update script and password * Remove 3.5 conditional
1 parent 7695cdc commit e66e8b5

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/node.js.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,31 +29,27 @@ jobs:
2929
strategy:
3030
matrix:
3131
node-version: [ 16.x ]
32-
neo4j-version: [ "3.5", "3.5-enterprise", "4.4", "4.4-enterprise" ]
32+
neo4j-version: [ "4.4", "4.4-enterprise", "5", "5-enterprise" ]
3333
services:
3434
neo4j:
3535
image: neo4j:${{ matrix.neo4j-version }}
3636
ports: [ "7687:7687" ]
3737
env:
3838
NEO4J_ACCEPT_LICENSE_AGREEMENT: yes
39-
NEO4J_AUTH: "neo4j/abcde"
39+
NEO4J_AUTH: "neo4j/abcdefghi"
4040
options: >-
4141
--name neo4j-e2e
42-
--health-cmd "cypher-shell -u neo4j -p abcde 'RETURN 1'"
42+
--health-cmd "cypher-shell -u neo4j -p abcdefghi 'RETURN 1'"
4343
--health-interval 10s
4444
--health-timeout 5s
4545
--health-start-period 10s
4646
--health-retries 5
4747
--volume /tmp:/movies
4848
steps:
4949
- name: Download dataset
50-
run: curl --fail --output /tmp/movies.cypher https://raw.githubusercontent.com/neo4j-graph-examples/movies/8508a527d8aa1c261b0978d1d5b3156d4ac8328e/scripts/import.cypher
51-
- name: Import dataset (Neo4j 3.5)
52-
if: ${{ startsWith(matrix.neo4j-version, '3.5') }}
53-
run: docker exec --interactive neo4j-e2e sh -c 'cat /movies/movies.cypher | cypher-shell -u neo4j -p abcde'
50+
run: curl --fail --output /tmp/movies.cypher https://raw.githubusercontent.com/neo4j-graph-examples/movies/7e75003d2d32bf42ef9c740d1321a310fac1d1a6/scripts/movies.cypher
5451
- name: Import dataset
55-
if: ${{ !startsWith(matrix.neo4j-version, '3.5') }}
56-
run: docker exec --interactive neo4j-e2e cypher-shell -u neo4j -p abcde --file /movies/movies.cypher
52+
run: docker exec --interactive neo4j-e2e cypher-shell -u neo4j -p abcdefghi --file /movies/movies.cypher
5753
- name: Check out project sources
5854
uses: actions/checkout@v4
5955
- name: Install dependencies
@@ -70,7 +66,7 @@ jobs:
7066
NEO4J_URI: bolt://localhost
7167
NEO4J_DATABASE: "neo4j"
7268
NEO4J_USER: neo4j
73-
NEO4J_PASSWORD: abcde
69+
NEO4J_PASSWORD: abcdefghi
7470
with:
7571
working-directory: e2e
7672
browser: chrome

0 commit comments

Comments
 (0)