Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions .github/workflows/extended.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,19 @@ jobs:
uses: ./.github/actions/setup-builder
with:
rust-version: stable
- name: Build sqllogictest binary
run: |
# Cargo emits test binaries with hashed filenames under target/.../deps.
# We use head to pick the first matching sqllogictests artifact from the JSON stream.
TEST_BIN=$(cargo build --profile release-nonlto --features backtrace,parquet_encryption --package datafusion-sqllogictest --test sqllogictests --message-format=json | sed -n 's/.*"executable":"\([^"]*\)".*/\1/p' | head -n 1)
if [ -z "$TEST_BIN" ]; then
echo "Could not find sqllogictests test binary"
exit 1
fi
echo "TEST_BIN=$TEST_BIN" >> "$GITHUB_ENV"
- name: Run sqllogictest
working-directory: datafusion/sqllogictest
run: |
cargo test --features backtrace,parquet_encryption --profile release-nonlto --test sqllogictests -- --include-sqlite
# sqllogictests expects crate-relative paths for test data.
"$TEST_BIN" --include-sqlite
cargo clean