Company
Date Published
Author
Adam Cowley
Word count
2290
Language
English
Hacker News points
None

Summary

This article demonstrates how to integrate Neo4j Aura into GitHub Actions for automated testing. The author uses the Aura CLI, which is a command line interface for interacting with Neo4j Aura, to create and manage instances of the database. The author creates a new instance using the `aura instances create` command and verifies that it exists by running the `aura instances get` command. The author then runs tests in a Node.js environment using the credentials stored in the GitHub Action. Finally, the author deletes the instance using the `aura instances delete` command to shut down the database. The workflow is triggered every time code is pushed to the repository, and it consists of three jobs: one for creating the database, one for running the tests, and one for shutting down the database. The author provides instructions on how to set up the Aura CLI, create a new instance, run tests, and delete an instance using the `aura instances` commands.