Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/rust-cubesql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,16 @@ jobs:
key: cubesql-${{ runner.OS }}-x86_64-unknown-linux-gnu
shared-key: cubesql-${{ runner.OS }}-x86_64-unknown-linux-gnu
- name: Lint CubeSQL
run: cd rust/cubesql/cubesql && cargo fmt --all -- --check
run: cd rust/cubesql && cargo fmt --all -- --check
- name: Lint Native
run: cd packages/cubejs-backend-native && cargo fmt --all -- --check
# TODO replace with clippy once cubesql is ready
- name: Check CubeSQL
run: cd rust/cubesql && cargo check --locked --workspace --all-targets --keep-going
- name: Clippy Native
run: cd packages/cubejs-backend-native && cargo clippy -- -D warnings
run: cd packages/cubejs-backend-native && cargo clippy --locked --workspace --all-targets --keep-going -- -D warnings
- name: Clippy Native (with Python)
run: cd packages/cubejs-backend-native && cargo clippy --features python -- -D warnings
run: cd packages/cubejs-backend-native && cargo clippy --locked --workspace --all-targets --keep-going --features python -- -D warnings
# CubeSQL is not ready for Clippy
#- name: Clippy CubeSQL
# run: cd rust/cubesql && cargo clippy -- -D warnings
Expand Down
4 changes: 2 additions & 2 deletions rust/cubesql/cubesql/benches/large_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ use uuid::Uuid;
macro_rules! bench_large_model {
($DIMS:expr, $NAME:expr, $QUERY_FN:expr, $CRITERION:expr) => {{
let context = Arc::new(
futures::executor::block_on(create_test_cube_context(
create_test_postgresql_cube_context($DIMS),
futures::executor::block_on(create_test_postgresql_cube_context(
get_large_model_test_tenant_ctx($DIMS),
))
.unwrap(),
);
Expand Down