@@ -218,7 +218,7 @@ jobs:
218
218
- name : Check datafusion-functions (string_expressions)
219
219
run : cargo check --profile ci --all-targets --no-default-features --features=string_expressions -p datafusion-functions
220
220
221
- # Run tests
221
+ # Library and integration tests
222
222
linux-test :
223
223
name : cargo test (amd64)
224
224
needs : linux-build-lib
@@ -232,6 +232,36 @@ jobs:
232
232
run : rustup toolchain install stable
233
233
- name : Install Protobuf Compiler
234
234
run : sudo apt-get install -y protobuf-compiler
235
+ - name : Run tests (excluding doctests and datafusion-cli)
236
+ env :
237
+ RUST_BACKTRACE : 1
238
+ run : |
239
+ cargo test \
240
+ --profile ci \
241
+ --exclude datafusion-examples \
242
+ --exclude ffi_example_table_provider \
243
+ --exclude datafusion-benchmarks \
244
+ --exclude datafusion-cli \
245
+ --workspace \
246
+ --lib \
247
+ --tests \
248
+ --bins \
249
+ --features serde,avro,json,backtrace,integration-tests
250
+ - name : Verify Working Directory Clean
251
+ run : git diff --exit-code
252
+
253
+ # datafusion-cli tests
254
+ linux-test-datafusion-cli :
255
+ name : cargo test datafusion-cli (amd64)
256
+ needs : linux-build-lib
257
+ runs-on : ubuntu-latest
258
+ steps :
259
+ - uses : actions/checkout@v4
260
+ with :
261
+ submodules : true
262
+ fetch-depth : 1
263
+ - name : Setup Rust toolchain
264
+ run : rustup toolchain install stable
235
265
- name : Setup Minio - S3-compatible storage
236
266
run : |
237
267
docker run -d --name minio-container \
@@ -252,13 +282,14 @@ jobs:
252
282
AWS_SECRET_ACCESS_KEY : TEST-DataFusionPassword
253
283
TEST_STORAGE_INTEGRATION : 1
254
284
AWS_ALLOW_HTTP : true
255
- run : cargo test --profile ci --exclude datafusion-examples --exclude ffi_example_table_provider --exclude datafusion-benchmarks --workspace -- lib --tests --bins --features avro,json,backtrace,integration-tests
285
+ run : cargo test --profile ci -p datafusion-cli -- lib --tests --bins
256
286
- name : Verify Working Directory Clean
257
287
run : git diff --exit-code
258
288
- name : Minio Output
259
289
if : ${{ !cancelled() }}
260
290
run : docker logs minio-container
261
291
292
+
262
293
linux-test-example :
263
294
name : cargo examples (amd64)
264
295
needs : linux-build-lib
0 commit comments