Skip to content

Commit

Permalink
added neo4j service to tests action
Browse files Browse the repository at this point in the history
  • Loading branch information
jkminder authored May 5, 2022
1 parent e5c367d commit 9180f21
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,31 @@ permissions:
contents: read

jobs:
build:

tests:
runs-on: ubuntu-latest



services:
neo4j:
image: neo4j:latest
env:
NEO4J_dbms_security_procedures_unrestricted: apoc.*
NEO4J_dbms_connector_bolt_enabled: "true"
NEO4J_apoc_import_file_enabled: "true"
NEO4J_apoc_export_file_enabled: "true"
NEO4J_apoc_import_file_use__neo4j__config: "true"
NEO4J_ACCEPT_LICENSE_AGREEMENT: "yes"
NEO4J_dbms_security_auth__enabled: "false"
NEO4J_dbms_connector_bolt_advertised__address: localhost:7687
NEO4JLABS_PLUGINS: '["apoc"]'
options: >-
--health-cmd "cypher-shell 'match (n) return count(n)'"
--health-timeout 10s
--health-retries 20
--health-interval 10s
--health-start-period 30s
ports:
- 7687:7687
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
Expand Down

0 comments on commit 9180f21

Please sign in to comment.