From 56144382df99c3ee6ff6612c8be35034dcf03ee2 Mon Sep 17 00:00:00 2001 From: Raphael Taylor-Davies Date: Mon, 31 Jan 2022 10:31:23 +0000 Subject: [PATCH] Tweak CI --- .github/workflows/rust.yml | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4df72da57d30..70faf8348e88 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -107,22 +107,31 @@ jobs: run: | export CARGO_HOME="/github/home/.cargo" export CARGO_TARGET_DIR="/github/home/target" + # run tests on all workspace members with default feature list cargo test + + # Switch to arrow crate cd arrow - # re-run tests on arrow workspace with additional features + # re-run tests on arrow crate with additional features cargo test --features=prettyprint --features=async - # run test on arrow with minimal set of features + # run test on arrow crate with minimal set of features cargo test --no-default-features cargo run --example builders cargo run --example dynamic_types cargo run --example read_csv cargo run --example read_csv_infer_schema - # Exit arrow directory - cd .. - (cd parquet && cargo check --no-default-features) - (cd arrow && cargo check --no-default-features) - (cd arrow-flight && cargo check --no-default-features) + cargo check --no-default-features + + # Switch to parquet crate + cd ../parquet + # re-run tests on parquet crate with async feature enabled + cargo test --features=async + cargo check --no-default-features + + # Switch to arrow-flight + cd ../arrow-flight + cargo check --no-default-features # test the --features "simd" of the arrow crate. This requires nightly. linux-test-simd: