演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。 Co-authored-by: Cursor <cursoragent@cursor.com>
902 B
902 B
Clickzetta Integration Tests
CI Integration Tests
Integration tests run in CI with a dedicated Clickzetta test instance. Configure these environment variables in that environment:
export CLICKZETTA_USERNAME=your_username
export CLICKZETTA_PASSWORD=your_password
export CLICKZETTA_INSTANCE=your_instance
export CLICKZETTA_SERVICE=api.clickzetta.com
export CLICKZETTA_WORKSPACE=your_workspace
export CLICKZETTA_VCLUSTER=your_vcluster
export CLICKZETTA_SCHEMA=dify
The CI invocation from the repository root is:
uv run --project api pytest api/providers/vdb/vdb-clickzetta/tests/e2e_tests/
For local verification, run the provider unit tests:
uv run --project api pytest api/providers/vdb/vdb-clickzetta/tests/unit_tests/
Credentials
Never commit credentials to the repository. Always use environment variables or secure credential management systems.