This repository contains additional components for the CELIDA Execution Engine that are specific to the DigiPOD project.
Run execute_digipod.py.
Follow these steps to set up and run tests for the project:
First, ensure that you have cloned the submodules to get the necessary test data:
git submodule update --init --recursiveEnsure a PostgreSQL container is running. You can do this manually
docker run \
--name postgres-pytest-digipod \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=mysecretpassword \
-p 5434:5432 \
-d postgresInstall the necessary packages for testing from requirements-dev.txt:
pip install -r requirements-dev.txtFinally, run pytest with the necessary parameters:
pytest \
--postgresql-host=localhost \
--postgresql-port=5434 \
--postgresql-user=postgres \
--postgresql-password=mysecretpassword \
--color=yesThis will execute the tests with the specified PostgreSQL configuration and additional options for the test run.