This PR adds an additional GitHub Actions workflow for the Python portions of the project, namely api and core. It conducts the following checks:
Checks that the formatter has been run
Runs the linter
Builds and starts the database portion of the Docker Compose stack
Runs all Python tests using pytest
Builds the API Docker image
In order to get this pipeline to pass, I had to introduce a health check for the gremlin Docker Compose service to ensure it is fully started prior to running Python tests. I also had to make a small change to core to address an issue the linter was complaining about.
This PR adds an additional GitHub Actions workflow for the Python portions of the project, namely
api
andcore
. It conducts the following checks:In order to get this pipeline to pass, I had to introduce a health check for the
gremlin
Docker Compose service to ensure it is fully started prior to running Python tests. I also had to make a small change tocore
to address an issue the linter was complaining about.Closes #62