Refer to the general Contribution Guidelines.
To run integration tests locally, you need a running Valkey instance. You can start one using Docker:
docker run -d -p 6379:6379 valkey/valkey-bundle:latestNavigate to the integration directory and set up environment variables:
cd integrations/valkey
# Sync dependencies including test dependencies
uv sync --group test
# Run unit tests only
hatch run test:unit
# Run integration tests only (requires Valkey instance)
hatch run test:integration
# Run all tests
hatch run test:all