Skip to content

Commit cbe6bb4

Browse files
committed
Tweak CI
1 parent 38e2225 commit cbe6bb4

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

.github/workflows/rust.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,22 +107,31 @@ jobs:
107107
run: |
108108
export CARGO_HOME="/github/home/.cargo"
109109
export CARGO_TARGET_DIR="/github/home/target"
110+
110111
# run tests on all workspace members with default feature list
111112
cargo test
113+
114+
# Switch to arrow crate
112115
cd arrow
113-
# re-run tests on arrow workspace with additional features
114-
cargo test --features=prettyprint --features=async
115-
# run test on arrow with minimal set of features
116+
# re-run tests on arrow crate with additional features
117+
cargo test --features=prettyprint
118+
# run test on arrow crate with minimal set of features
116119
cargo test --no-default-features
117120
cargo run --example builders
118121
cargo run --example dynamic_types
119122
cargo run --example read_csv
120123
cargo run --example read_csv_infer_schema
121-
# Exit arrow directory
122-
cd ..
123-
(cd parquet && cargo check --no-default-features)
124-
(cd arrow && cargo check --no-default-features)
125-
(cd arrow-flight && cargo check --no-default-features)
124+
cargo check --no-default-features
125+
126+
# Switch to parquet crate
127+
cd ../parquet
128+
# re-run tests on parquet crate with async feature enabled
129+
cargo test --features=async
130+
cargo check --no-default-features
131+
132+
# Switch to arrow-flight
133+
cd ../arrow-flight
134+
cargo check --no-default-features
126135
127136
# test the --features "simd" of the arrow crate. This requires nightly.
128137
linux-test-simd:

0 commit comments

Comments
 (0)