99env :
1010 CARGO_TERM_COLOR : always
1111 RUST_BACKTRACE : 1
12+ CARGO_TARGET_DIR : /mnt/target # use larger disk
1213
1314concurrency :
1415 group : ${{ github.ref }}
@@ -32,13 +33,67 @@ jobs:
3233 lfs : true
3334 - uses : ./.github/actions/setup
3435 - run : cargo test --features integration
36+ - name : Show disk usage
37+ if : always()
38+ run : |
39+ echo "=== df -h ==="
40+ df -h
41+ echo "=== Top directories in workspace ==="
42+ du -h . 2>/dev/null | sort -hr | head -n 20 || true
43+ echo "=== cargo dirs ==="
44+ du -sh ~/.cargo 2>/dev/null || true
45+ du -sh ~/.cargo/registry 2>/dev/null || true
46+ du -sh ~/.cargo/git 2>/dev/null || true
47+ du -sh /mnt/target 2>/dev/null || true
48+ du -sh target 2>/dev/null || true
49+ echo "=== target/debug/deps sizes ==="
50+ du -h /mnt/target/debug/deps 2>/dev/null | sort -hr | head -n 30 || true
51+ du -h target/debug/deps 2>/dev/null | sort -hr | head -n 30 || true
52+ echo "=== home directory ==="
53+ du -sh ~ 2>/dev/null | head -n 10 || true
3554
3655 tpch-test :
3756 runs-on : ubuntu-latest
3857 steps :
3958 - uses : actions/checkout@v4
4059 - uses : ./.github/actions/setup
4160 - run : cargo test --features tpch --test tpch_validation_test
61+ - name : Clean up test data
62+ run : |
63+ rm -rf testdata/tpch/data/*
64+ df -h
65+
66+ tpcds-randomized-test :
67+ runs-on : ubuntu-latest
68+ steps :
69+ - uses : actions/checkout@v4
70+ with :
71+ lfs : true
72+ - uses : ./.github/actions/setup
73+ - name : Install DuckDB CLI
74+ run : |
75+ curl https://install.duckdb.org | sh
76+ mkdir -p $HOME/.local/bin
77+ mv /home/runner/.duckdb/cli/latest/duckdb $HOME/.local/bin/
78+ echo "$HOME/.local/bin" >> $GITHUB_PATH
79+ - name : Run TPC-DS randomized test
80+ id : test
81+ run : cargo test --features tpcds --test tpc_ds_randomized
82+ continue-on-error : true
83+ - name : Upload test artifacts on failure
84+ if : failure() || steps.test.outcome == 'failure'
85+ uses : actions/upload-artifact@v4
86+ with :
87+ name : tpcds-test-artifacts-${{ github.run_id }}
88+ path : testdata/tpcds/data/**
89+ retention-days : 7
90+ if-no-files-found : ignore
91+ - name : Clean up test data
92+ run : |
93+ rm -rf testdata/tpcds/data/*
94+ rm -f $HOME/.local/bin/duckdb
95+ rm -rf /home/runner/.duckdb
96+ df -h
4297
4398 format-check :
4499 runs-on : ubuntu-latest
48103 with :
49104 components : rustfmt
50105 - run : cargo fmt --all -- --check
106+
0 commit comments