@@ -106,6 +106,7 @@ jobs:
106106 run : |
107107 rustup component add rustfmt
108108 cd native && cargo fmt --all -- --check
109+ cargo fmt --manifest-path native-executors/Cargo.toml --all -- --check
109110
110111 # Fast syntactic-only scalafix check. Parses sources without compiling, so it
111112 # surfaces version-independent style issues (e.g. RedundantSyntax) in seconds,
@@ -476,6 +477,36 @@ jobs:
476477 - name : Rust test steps
477478 uses : ./.github/actions/rust-test
478479
480+ # native/native-executors, the Comet Native Executors cluster (issue #7288),
481+ # is a Cargo workspace of its own so that the main build never depends on
482+ # Ballista. linux-test-rust doesn't build it, so this job does, and the lint
483+ # job checks its formatting. When Comet moves to a DataFusion major that
484+ # Ballista hasn't released yet, the upgrade can turn this job off until
485+ # Ballista catches up.
486+ linux-test-native-executors :
487+ needs : lint
488+ name : ubuntu-latest/native-executors
489+ if : ${{ !inputs.cache-refresh-only && inputs.profiles != 'nightly' }}
490+ runs-on : ubuntu-24.04
491+ container :
492+ image : amd64/rust
493+ steps :
494+ - uses : actions/checkout@v7
495+
496+ - name : Setup Rust & Java toolchain
497+ uses : ./.github/actions/setup-builder
498+ with :
499+ rust-version : ${{ env.RUST_VERSION }}
500+ jdk-version : 17
501+
502+ - name : Check Cargo clippy
503+ run : |
504+ cargo clippy --manifest-path native/native-executors/Cargo.toml --color=never \
505+ --all-targets -- -D warnings
506+
507+ - name : Run Cargo test
508+ run : cargo test --manifest-path native/native-executors/Cargo.toml --color=never
509+
479510 linux-test :
480511 # `lint` is already upstream via build-native; it is listed here so this
481512 # job can read its `profile-matrix` output.
0 commit comments