wForget commented on code in PR #2350: URL: https://github.com/apache/datafusion-comet/pull/2350#discussion_r2339660616
########## .github/workflows/pr_build_linux.yml: ########## @@ -170,4 +170,42 @@ jobs: suites: ${{ matrix.suite.value }} maven_opts: ${{ matrix.profile.maven_opts }} scan_impl: ${{ matrix.profile.scan_impl }} - upload-test-reports: true \ No newline at end of file + upload-test-reports: true + + # Java tests with native features + linux-test-features: + strategy: + matrix: + os: [ubuntu-latest] + java_version: [17] + features: + - value: "hdfs-opendal" + suites: | + org.apache.comet.parquet.ParquetReadFromFakeHadoopFsSuite + org.apache.comet.parquet.ParquetReadFromHdfsSuite + - value: "hdfs" + suites: | + org.apache.comet.parquet.ParquetReadFromHdfsSuite + fail-fast: false + name: ${{ matrix.os }}/java ${{ matrix.java_version }}-features [${{ matrix.features.value }}] + runs-on: ${{ matrix.os }} + container: + image: amd64/rust + env: + JAVA_TOOL_OPTIONS: ${{ matrix.profile.java_version == '17' && '--add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED' || '' }} + + steps: + - uses: actions/checkout@v5 + - name: Setup Rust & Java toolchain + uses: ./.github/actions/setup-builder + with: + rust-version: ${{env.RUST_VERSION}} + jdk-version: ${{ matrix.java_version }} + - name: Java test steps + uses: ./.github/actions/java-test + with: + artifact_name: ${{ matrix.os }}-java-${{ matrix.java_version }}-features-${{ matrix.features.value }}-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }} + features: ${{ matrix.features.value }} + maven_opts: "-Dtest=none -Dfeatures=${{ matrix.features.value }}" Review Comment: `-Dtest=none` skip java tests -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org