From f104ebbd3fdf928c63c4ffdf2974c1f4725d366a Mon Sep 17 00:00:00 2001 From: zenghua Date: Fri, 2 Feb 2024 18:07:55 +0800 Subject: [PATCH] fix consistency-ci.yml Signed-off-by: zenghua --- .github/workflows/consistency-ci.yml | 2 +- .github/workflows/rust-ci.yml | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/consistency-ci.yml b/.github/workflows/consistency-ci.yml index c313e6067..37bb74e7f 100644 --- a/.github/workflows/consistency-ci.yml +++ b/.github/workflows/consistency-ci.yml @@ -122,8 +122,8 @@ jobs: mv *.tbl ../lakesoul/test_files/tpch/data - name: Verify that benchmark queries return expected results run: | - cd ./rust export TPCH_DATA=`realpath lakesoul/test_files/tpch/data` + cd ./rust # use release build for plan verificaton because debug build causes stack overflow cargo test load_tpch_data --package lakesoul-datafusion --features=ci -- --test-threads=1 PGPASSWORD='lakesoul_test' psql -U lakesoul_test -h 127.0.0.1 -p 5432 -d lakesoul_test -c "select * from table_info;" diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index a5216f483..d69f5ebda 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -58,21 +58,6 @@ jobs: uses: arduino/setup-protoc@v2 with: version: "23.x" - - name: Generate benchmark data and expected query results - run: | - mkdir -p lakesoul/test_files/tpch/data - git clone https://github.com/databricks/tpch-dbgen.git - cd tpch-dbgen - make - ./dbgen -f -s 0.1 - mv *.tbl ../lakesoul/test_files/tpch/data - - name: Verify that benchmark queries return expected results - run: | - export TPCH_DATA=`realpath lakesoul/test_files/tpch/data` - cd ./rust - # use release build for plan verificaton because debug build causes stack overflow - cargo test load_tpch_data --package lakesoul-datafusion --features=ci -- --test-threads=1 - PGPASSWORD='lakesoul_test' psql -U lakesoul_test -h 127.0.0.1 -p 5432 -d lakesoul_test -c "select * from table_info;" - name: Run tests run: cd rust && sudo cargo test --all-features --package lakesoul-datafusion