diff --git a/README.md b/README.md index bbe4ba3..de889f1 100644 --- a/README.md +++ b/README.md @@ -216,8 +216,8 @@ You can set these variables in your environment, in a `.env` file, or in the Cla uv sync --all-extras --dev # install dev dependencies uv run ruff check . # run linting -docker compose up -d test_services # start ClickHouse -uv run pytest tests +docker compose up -d clickhouse # start ClickHouse +env $(cat tests/test.env | xargs) uv run pytest tests # one-liner to run tests with default env vars ``` ## YouTube Overview diff --git a/tests/test.env b/tests/test.env new file mode 100644 index 0000000..89d5bd2 --- /dev/null +++ b/tests/test.env @@ -0,0 +1,6 @@ +CLICKHOUSE_HOST=localhost +CLICKHOUSE_PORT=8123 +CLICKHOUSE_USER=default +CLICKHOUSE_PASSWORD=clickhouse +CLICKHOUSE_SECURE=false +CLICKHOUSE_VERIFY=false \ No newline at end of file