From f58b60b85f44334eea06a1e7d2ba4a3d4f2d4856 Mon Sep 17 00:00:00 2001 From: Alex Thomas Date: Wed, 6 Nov 2024 10:08:27 +0000 Subject: [PATCH] Adds a Neo4j service to release workflow (#3) --- .github/workflows/_release.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml index 4e7e2ec..34011f8 100644 --- a/.github/workflows/_release.yml +++ b/.github/workflows/_release.yml @@ -82,6 +82,16 @@ jobs: - build - test-pypi-publish runs-on: ubuntu-latest + services: + neo4j: + image: neo4j:5.24.2 + env: + NEO4J_AUTH: neo4j/pleaseletmein + NEO4J_ACCEPT_LICENSE_AGREEMENT: 'eval' + NEO4J_PLUGINS: '["apoc"]' + ports: + - 7687:7687 + - 7474:7474 steps: - uses: actions/checkout@v4 @@ -158,10 +168,6 @@ jobs: working-directory: ${{ inputs.working-directory }} - name: Run integration tests - env: - NEO4J_URI: ${{ secrets.NEO4J_URI }} - NEO4J_USERNAME: ${{ secrets.NEO4J_USERNAME }} - NEO4J_PASSWORD: ${{ secrets.NEO4J_PASSWORD }} run: make integration_tests working-directory: ${{ inputs.working-directory }}