Title: ci: add build workflow that runs make test by andygrove · Pull Request #15 · apache/datafusion-java · GitHub
Open Graph Title: ci: add build workflow that runs make test by andygrove · Pull Request #15 · apache/datafusion-java
X Title: ci: add build workflow that runs make test by andygrove · Pull Request #15 · apache/datafusion-java
Description: Summary Adds .github/workflows/build.yml running on pushes to main and on PRs targeting main. Sets up Temurin JDK 17 and a stable Rust toolchain, caches Maven (~/.m2) and cargo (native/target) artifacts, then runs make test. Rationale The project currently has no CI: format.yml was removed in #7 to clear a deadlock when GitHub Actions wasn't yet enabled, and #11 nulled out the stale branch protection rules left behind. With Actions now in place, we need at least one workflow that exercises the build on every PR so regressions surface before merge. make test is the canonical full build entry point documented in README.md and CONTRIBUTING.md — it depends on the native target (so it builds the Rust crate first) and then runs the JVM JUnit suite, which is exactly what CI needs to cover. What's in this PR .github/workflows/build.yml: single build job on ubuntu-latest, JDK 17 (Temurin) with Maven cache via actions/setup-java, Rust stable via dtolnay/rust-toolchain, cargo cache via Swatinem/rust-cache scoped to the native workspace, then make test. Not in this PR Spotless / Apache RAT / clippy / cargo fmt checks. These run at Maven's verify phase or via separate cargo commands and aren't wired into the Makefile yet; they can be added in a follow-up once we decide whether to extend the Makefile or invoke them directly from CI. Matrix builds across OS or JDK versions — start minimal, expand if needed.
Open Graph Description: Summary Adds .github/workflows/build.yml running on pushes to main and on PRs targeting main. Sets up Temurin JDK 17 and a stable Rust toolchain, caches Maven (~/.m2) and cargo (native/target) art...
X Description: Summary Adds .github/workflows/build.yml running on pushes to main and on PRs targeting main. Sets up Temurin JDK 17 and a stable Rust toolchain, caches Maven (~/.m2) and cargo (native/target) art...
Opengraph URL: https://github.com/apache/datafusion-java/pull/15
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:35d1fa8a-c802-c8ec-630c-cb6228c20abe |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D138:28B6BF:2AA9E2:3BDA58:6B046A91 |
| html-safe-nonce | 6bf2281d1ffab1bcac402e7128d7823f082ca74b26c4b689b7ec17370cad52ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTM4OjI4QjZCRjoyQUE5RTI6M0JEQTU4OjZCMDQ2QTkxIiwidmlzaXRvcl9pZCI6IjM2NTM3MTg2NzMyMjg4NTE4NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e1323791d049d5da190dadb0681d4c61067f722bdb43cdf079aee1e7bfab97c2 |
| hovercard-subject-tag | pull_request:3673244962 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/apache/datafusion-java/pull/15/files |
| twitter:image | https://avatars.githubusercontent.com/u/934084?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/934084?s=400&v=4 |
| og:image:alt | Summary Adds .github/workflows/build.yml running on pushes to main and on PRs targeting main. Sets up Temurin JDK 17 and a stable Rust toolchain, caches Maven (~/.m2) and cargo (native/target) art... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/apache/datafusion-java git https://github.com/apache/datafusion-java.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 1237105117 |
| octolytics-dimension-repository_nwo | apache/datafusion-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1237105117 |
| octolytics-dimension-repository_network_root_nwo | apache/datafusion-java |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width