Skip to content

DigiPOD/ee-addons

Repository files navigation

DigiPOD ExecutionEngine Addons

This repository contains additional components for the CELIDA Execution Engine that are specific to the DigiPOD project.

Usage

Run execute_digipod.py.

Testing

Follow these steps to set up and run tests for the project:

1. Clone Submodules

First, ensure that you have cloned the submodules to get the necessary test data:

git submodule update --init --recursive

2. Start PostgreSQL Container

Ensure 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 postgres

3. Install Development Requirements

Install the necessary packages for testing from requirements-dev.txt:

pip install -r requirements-dev.txt

4. Run Pytest

Finally, run pytest with the necessary parameters:

pytest \
  --postgresql-host=localhost \
  --postgresql-port=5434 \
  --postgresql-user=postgres \
  --postgresql-password=mysecretpassword \
  --color=yes

This will execute the tests with the specified PostgreSQL configuration and additional options for the test run.

About

CELIDA ExecutionEngine Add-Ons for DigiPod

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages