Skip to content

Commit

Permalink
Check Cypher queries
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Jul 1, 2021
1 parent aeb3d0e commit 5cd79fd
Show file tree
Hide file tree
Showing 6 changed files with 1,822 additions and 2 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/queries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Cypher Queries

on:
push:
branches:
- 'master'
pull_request:
branches:
- '*'

jobs:
build:
runs-on: ubuntu-latest

services:
neo4j:
image: neo4j:4.3
ports:
- 7687:7687
env:
NEO4J_AUTH: neo4j/s3cr3t
NEO4J_ACCEPT_LICENSE_AGREEMENT: yes
NEO4JLABS_PLUGINS: '["apoc", "graph-data-science"]'
options: >-
--health-cmd "cypher-shell -u neo4j -p s3cr3t 'RETURN 1'"
--health-interval 5s
--health-timeout 60s
--health-retries 12
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: '12'
- run: npm ci
- run: npm run fetchAsciiDoc
- run: npm run checkQueries
env:
NEO4J_DATABASE_URI: 'bolt://localhost:7687'
NEO4J_DATABASE_USER: 'neo4j'
NEO4J_DATABASE_PASSWORD: 's3cr3t'
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ node_modules/
/coverage

# production
build
build/*
dist
*.tgz

Expand All @@ -25,4 +25,4 @@ yarn-error.log*
*.swp
.idea*

ui-react/package
ui-react/package
Empty file added build/.gitkeep
Empty file.
Loading

0 comments on commit 5cd79fd

Please sign in to comment.