add tpc-ds tests and property-based testing utilities #553
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: 1 | |
| concurrency: | |
| group: ${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| clippy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup | |
| with: | |
| components: clippy | |
| - run: cargo clippy --all-targets --features integration | |
| unit-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| - uses: ./.github/actions/setup | |
| - run: cargo test --features integration | |
| - name: Show disk usage | |
| if: always() | |
| run: | | |
| echo "=== df -h ===" | |
| df -h | |
| echo "=== Top directories in workspace ===" | |
| du -h . 2>/dev/null | sort -hr | head -n 20 || true | |
| echo "=== cargo dirs ===" | |
| du -sh ~/.cargo 2>/dev/null || true | |
| du -sh target 2>/dev/null || true | |
| echo "=== home directory ===" | |
| du -sh ~ 2>/dev/null | head -n 10 || true | |
| tpch-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup | |
| - run: cargo test --features tpch --test tpch_validation_test | |
| - name: Clean up test data | |
| run: | | |
| rm -rf testdata/tpch/data/* | |
| df -h | |
| format-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup | |
| with: | |
| components: rustfmt | |
| - run: cargo fmt --all -- --check |