This page describes how to run tests locally and what automated checks run in CI.
The following assumes the Python environment created in Getting Started has been created and activated.
Static checks are enforced using prek (a pre-commit runner). To run all checks:
prek run --all-filesTo install the pre-commit hook so checks run automatically on each commit:
prek installThe elt-common package has unit tests under elt-common/tests/. To run them:
cd elt-common
uv pip install --editable . --group dev
pytest testsEnd-to-end tests verify that ingestion scripts work correctly against a real local Iceberg catalog. They require the Docker Compose services to be running (see Getting Started).
# Ensure services are up
cd infra/local
docker compose up --wait
# Run e2e tests
cd ../../warehouses
pytestGitHub actions is used as CI. See ../.github/workflows/ for checks that run through GitHub actions.