From 51ee02abd3f91b6c8e784a80dc4c521b5ac52125 Mon Sep 17 00:00:00 2001 From: Rahul Krishna Date: Sat, 5 Sep 2026 21:22:54 -0400 Subject: [PATCH] fix(release): run the release gate against a Neo4j service --- .github/workflows/release.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f9252c3..6b39c63 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,27 @@ jobs: permissions: contents: write # create GitHub Release + delete tag on failure id-token: write # PyPI Trusted Publishing (OIDC) -- no API token needed + # The graph parity gate below (tests/parity_test.go, part of `make test`) is + # fatal rather than skipped whenever CI is set, so this job needs the same + # Neo4j service and env as ci.yml's "full suite with a graph" job -- without + # it the release gate can never pass (see run 34003621288). + services: + neo4j: + image: neo4j:5 + env: + NEO4J_AUTH: neo4j/test-password + ports: + - 7687:7687 + - 7474:7474 + options: >- + --health-cmd "wget --quiet --tries=1 --spider http://localhost:7474 || exit 1" + --health-interval 10s + --health-timeout 5s + --health-retries 30 + env: + NEO4J_TEST_URI: neo4j://localhost:7687 + NEO4J_TEST_USERNAME: neo4j + NEO4J_TEST_PASSWORD: test-password steps: - name: Check out code uses: actions/checkout@v5