@@ -39,43 +39,54 @@ jobs:
3939 linux-build-lib :
4040 name : linux build test
4141 runs-on : ubuntu-latest
42- container :
43- image : amd64/rust
4442 steps :
4543 - uses : actions/checkout@v4
46- - name : Setup Rust toolchain
47- uses : ./.github/actions/setup-builder
4844 with :
49- rust-version : stable
45+ submodules : true
46+ fetch-depth : 1
47+ - name : Install Rust
48+ run : |
49+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
50+ source $HOME/.cargo/env
51+ rustup default stable
52+ - name : Install Protobuf Compiler
53+ run : sudo apt-get install -y protobuf-compiler
5054 - name : Prepare cargo build
5155 run : |
5256 cargo check --profile ci --all-targets
5357 cargo clean
5458
55- # # Run extended tests (with feature 'extended_tests')
56- # # Disabling as it is running out of disk space
57- # # see https://github.com/apache/datafusion/issues/14576
58- # linux-test-extended:
59- # name: cargo test 'extended_tests' (amd64)
60- # needs: linux-build-lib
61- # runs-on: ubuntu-latest
62- # container:
63- # image: amd64/rust
64- # steps:
65- # - uses: actions/checkout@v4
66- # with:
67- # submodules: true
68- # fetch-depth: 1
69- # - name: Setup Rust toolchain
70- # uses: ./.github/actions/setup-builder
71- # with:
72- # rust-version: stable
73- # - name: Run tests (excluding doctests)
74- # run: cargo test --profile ci --exclude datafusion-examples --exclude datafusion-benchmarks --workspace --lib --tests --bins --features avro,json,backtrace,extended_tests
75- # - name: Verify Working Directory Clean
76- # run: git diff --exit-code
77- # - name: Cleanup
78- # run: cargo clean
59+ # Run extended tests (with feature 'extended_tests')
60+ linux-test-extended :
61+ name : cargo test 'extended_tests' (amd64)
62+ needs : linux-build-lib
63+ runs-on : ubuntu-latest
64+ steps :
65+ - uses : actions/checkout@v4
66+ with :
67+ submodules : true
68+ fetch-depth : 1
69+ - name : Free Disk Space (Ubuntu)
70+ uses : jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
71+ - name : Install Rust
72+ run : |
73+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
74+ source $HOME/.cargo/env
75+ rustup default stable
76+ - name : Install Protobuf Compiler
77+ run : sudo apt-get install -y protobuf-compiler
78+ # For debugging, test binaries can be large.
79+ - name : Show available disk space
80+ run : |
81+ df -h
82+ - name : Run tests (excluding doctests)
83+ env :
84+ RUST_BACKTRACE : 1
85+ run : cargo test --profile ci --exclude datafusion-examples --exclude datafusion-benchmarks --workspace --lib --tests --bins --features avro,json,backtrace,extended_tests
86+ - name : Verify Working Directory Clean
87+ run : git diff --exit-code
88+ - name : Cleanup
89+ run : cargo clean
7990
8091 # Check answers are correct when hash values collide
8192 hash-collisions :
95106 - name : Run tests
96107 run : |
97108 cd datafusion
98- cargo test --profile ci --exclude datafusion-examples --exclude datafusion-benchmarks --exclude datafusion-sqllogictest --workspace --lib --tests --features=force_hash_collisions,avro,extended_tests
109+ cargo test --profile ci --exclude datafusion-examples --exclude datafusion-benchmarks --exclude datafusion-sqllogictest --workspace --lib --tests --features=force_hash_collisions,avro
99110 cargo clean
100111
101112 sqllogictest-sqlite :
0 commit comments