xborder opened a new issue, #1188:
URL: https://github.com/apache/arrow-java/issues/1188

   ### Describe the enhancement requested
   
   The current Test GitHub Actions workflow spends a large amount of runner 
time repeatedly compiling the same Maven reactor across the matrix.
   
   - Today, most jobs run `build.sh` followed by `test.sh`. `build.sh` runs a 
full `mvn clean install -DskipTests`, then `test.sh` runs `mvn clean test`, 
which deletes the build outputs and recompiles before running tests. 
   - JNI/C Data jobs add additional Maven test invocations and native build 
work, so some jobs compile or build equivalent artifacts multiple times.
   - For macOS and Windows runners, Java bytecode is compiled again even though 
the project targets maven.compiler.release=17, making the compiled classes 
portable across JDK 17+ and across OS/architecture for pure Java tests.
   - Other smaller inefficiencies:
     - The workflow can run twice for PR branch updates because both `push` and 
`pull_request` triggers fire.f
     - Integration is not required for every PR, but currently participates 
broadly in the workflow.
   
   
   This was triggered by 
https://lists.apache.org/thread/drf0o5kzg1zfmok7gc09k8qz8hh9ymvh


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to