Skip to content

Apache DataFusion SQL Query Engine

cargo test excluding doctests for mac,win64 (#5730)

zhenxing jiang9694f6a7914f
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 8a59cae019..e4bc9b77ec 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -248,11 +248,11 @@ jobs:
rustup toolchain install stable
rustup default stable
rustup component add rustfmt
- - name: Run tests
+ - name: Run tests (excluding doctests)
shell: bash
run: |
export PATH=$PATH:$HOME/d/protoc/bin
- cargo test
+ cargo test --lib --tests --bins --features avro,jit,scheduler,json,dictionary_expressions
env:
# do not produce debug symbols to keep memory usage down
RUSTFLAGS: "-C debuginfo=0"
@@ -282,10 +282,10 @@ jobs:
rustup toolchain install stable
rustup default stable
rustup component add rustfmt
- - name: Run tests
+ - name: Run tests (excluding doctests)
shell: bash
run: |
- cargo test
+ cargo test --lib --tests --bins --features avro,jit,scheduler,json,dictionary_expressions
env:
# do not produce debug symbols to keep memory usage down
RUSTFLAGS: "-C debuginfo=0"