Skip to content

Update rust_example.sh to run the examples in the new format #18512

@alamb

Description

@alamb

I think rust_example.sh needs to be fixed to run the examples in this new format.

Originally posted by @Jefffrey in #18289 (review)

Specifcally, as @cj-zhukov has updated the examples we are likely no longer actually execute them as part of CI:

example_name=`basename $filename ".rs"`
# Skip tests that rely on external storage and flight
if [ ! -d $filename ]; then
cargo run --profile ci --example $example_name
fi

Maybe something like add an ExampleKind::All type to the examples and then pass in all as an argument 🤔

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions