File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 99env :
1010 CARGO_TERM_COLOR : always
1111 RUST_BACKTRACE : 1
12+ TPCDS_SCALE_FACTOR : 0.5 # 0.5 scale factor produces a data dir which is 124MB
1213
1314concurrency :
1415 group : ${{ github.ref }}
4041 - uses : ./.github/actions/setup
4142 - run : cargo test --features tpch --test 'tpch_*'
4243
43- tpcds-randomized- test :
44+ tpcds-test :
4445 runs-on : ubuntu-latest
4546 steps :
4647 - uses : actions/checkout@v4
5354 mkdir -p $HOME/.local/bin
5455 mv /home/runner/.duckdb/cli/latest/duckdb $HOME/.local/bin/
5556 echo "$HOME/.local/bin" >> $GITHUB_PATH
56- - name : Run TPC-DS randomized test
57+ - name : Run TPC-DS test
5758 id : test
58- run : cargo test --features tpcds --test tpc_ds_randomized
59- continue-on-error : true
60- - name : Upload test artifacts on failure
61- if : failure() || steps.test.outcome == 'failure'
62- uses : actions/upload-artifact@v4
63- with :
64- name : tpcds-test-artifacts-${{ github.run_id }}
65- path : testdata/tpcds/data/**
66- retention-days : 7
67- if-no-files-found : ignore
59+ run : cargo test --features tpcds --test tpcds_test
6860
6961 format-check :
7062 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ mod tests {
2626 . get_or_init ( || async {
2727 if !fs:: exists ( get_data_dir ( ) ) . unwrap_or ( false ) {
2828 let scale_factor =
29- env:: var ( "SCALE_FACTOR " ) . unwrap_or_else ( |_| "0.01" . to_string ( ) ) ;
29+ env:: var ( "TPCDS_SCALE_FACTOR " ) . unwrap_or_else ( |_| "0.01" . to_string ( ) ) ;
3030 generate_tpcds_data ( scale_factor. as_str ( ) ) . unwrap ( ) ;
3131 }
3232 } )
You can’t perform that action at this time.
0 commit comments