Skip to content

Commit

Permalink
simplify the ci to run all examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Weijun-H committed Oct 27, 2023
1 parent 2692301 commit 0bad4e2
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,22 +136,10 @@ jobs:
rust-version: stable
- name: Run examples
run: |
# test datafusion-sql examples
cargo run --example sql
# test datafusion-examples
cargo run --example avro_sql
cargo run --example csv_sql
cargo run --example custom_datasource
cargo run --example dataframe
cargo run --example dataframe_in_memory
cargo run --example deserialize_to_struct
cargo run --example expr_api
cargo run --example parquet_sql
cargo run --example parquet_sql_multiple_files
cargo run --example memtable
cargo run --example rewrite_expr
cargo run --example simple_udf
cargo run --example simple_udaf
for example in $(ls datafusion-examples/examples/*.rs); do
example_name=$(basename "$example" .rs)
cargo run --example "$example_name"
done
- name: Verify Working Directory Clean
run: git diff --exit-code

Expand Down

0 comments on commit 0bad4e2

Please sign in to comment.