Skip to content

Commit

Permalink
set up CI to test clickhouse with s3 export bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
KSDaemon committed Sep 26, 2024
1 parent fe307ba commit d55ddcd
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/drivers-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ jobs:
- athena
- bigquery
- clickhouse
- clickhouse-export-bucket-s3
- databricks-jdbc
- databricks-jdbc-export-bucket
- mssql
Expand Down
13 changes: 13 additions & 0 deletions packages/cubejs-testing-drivers/fixtures/clickhouse.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
{
"extendedEnvs": {
"export-bucket-s3": {
"cube": {
"environment": {
"CUBEJS_DB_EXPORT_BUCKET_TYPE": "s3",
"CUBEJS_DB_EXPORT_BUCKET": "s3://clickhouse-drivers-tests-preaggs",
"CUBEJS_DB_EXPORT_BUCKET_AWS_KEY": "${DRIVERS_TESTS_CUBEJS_DB_EXPORT_BUCKET_AWS_KEY}",
"CUBEJS_DB_EXPORT_BUCKET_AWS_SECRET": "${DRIVERS_TESTS_CUBEJS_DB_EXPORT_BUCKET_AWS_SECRET}",
"CUBEJS_DB_EXPORT_BUCKET_AWS_REGION": "us-east-1"
}
}
}
},
"cube": {
"environment": {
"CUBEJS_API_SECRET": "mysupersecret",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { testQueries } from '../src/tests/testQueries';

testQueries('clickhouse', {
includeIncrementalSchemaSuite: true,
extendedEnv: 'export-bucket-s3'
});

0 comments on commit d55ddcd

Please sign in to comment.