Skip to content

Commit

Permalink
Add CI checks that we can serde all benchmark queries (apache#4047)
Browse files Browse the repository at this point in the history
* Add CI checks that we can serde all benchmark queries

* move all ci tests to separate module

* format

* run serde tests in CI
  • Loading branch information
andygrove authored and Dandandan committed Nov 5, 2022
1 parent 2060e9a commit 188dc84
Show file tree
Hide file tree
Showing 3 changed files with 328 additions and 180 deletions.
1 change: 1 addition & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ jobs:
run: |
export TPCH_DATA=`pwd`/benchmarks/data
cargo test verify_q --profile release-nonlto --features=ci -- --test-threads=1
cargo test serde_q --profile release-nonlto --features=ci -- --test-threads=1
- name: Verify Working Directory Clean
run: git diff --exit-code

Expand Down
3 changes: 3 additions & 0 deletions benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,6 @@ snmalloc-rs = { version = "0.3", optional = true }
structopt = { version = "0.3", default-features = false }
test-utils = { path = "../test-utils/" }
tokio = { version = "^1.0", features = ["macros", "rt", "rt-multi-thread", "parking_lot"] }

[dev-dependencies]
datafusion-proto = { path = "../datafusion/proto" }
Loading

0 comments on commit 188dc84

Please sign in to comment.