Skip to content

Commit

Permalink
Backport CI fixes to 48.0.0_maintenance (#5061)
Browse files Browse the repository at this point in the history
* Temporarily Disable Java Integration Tests (#4957)

* Add additional integration test dependencies

* Temporarily disable Java

* Remove jpype

* Use new integration scripts (#4963) (#4988)

---------

Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com>
  • Loading branch information
alamb and tustvold committed Nov 8, 2023
1 parent baf8b36 commit f91a096
Showing 1 changed file with 11 additions and 37 deletions.
48 changes: 11 additions & 37 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,14 @@ jobs:
env:
ARROW_USE_CCACHE: OFF
ARROW_CPP_EXE_PATH: /build/cpp/debug
ARROW_GO_INTEGRATION: 1
BUILD_DOCS_CPP: OFF
ARROW_INTEGRATION_CPP: ON
ARROW_INTEGRATION_CSHARP: ON
ARROW_INTEGRATION_GO: ON
ARROW_INTEGRATION_JAVA: ON
ARROW_INTEGRATION_JS: ON
# https://github.com/apache/arrow/pull/38403/files#r1371281630
ARCHERY_INTEGRATION_WITH_RUST: ON
# These are necessary because the github runner overrides $HOME
# https://github.com/actions/runner/issues/863
RUSTUP_HOME: /root/.rustup
Expand Down Expand Up @@ -88,42 +94,10 @@ jobs:
with:
path: rust
fetch-depth: 0
- name: Install pythonnet
run: conda run --no-capture-output pip install pythonnet
- name: Install archery
run: conda run --no-capture-output pip install -e dev/archery[integration]
- name: Make build directory
run: mkdir /build
- name: Build Rust
run: conda run --no-capture-output ci/scripts/rust_build.sh $PWD /build
- name: Build C++
run: conda run --no-capture-output ci/scripts/cpp_build.sh $PWD /build
- name: Build C#
run: conda run --no-capture-output ci/scripts/csharp_build.sh $PWD /build
- name: Build Go
run: conda run --no-capture-output ci/scripts/go_build.sh $PWD
- name: Build Java
run: conda run --no-capture-output ci/scripts/java_build.sh $PWD /build
- name: Build JS
run: conda run --no-capture-output ci/scripts/js_build.sh $PWD /build
- name: Run integration tests
run: |
conda run --no-capture-output archery integration \
--run-flight \
--run-c-data \
--run-ipc \
--with-cpp=1 \
--with-csharp=1 \
--with-java=1 \
--with-js=1 \
--with-go=1 \
--with-rust=1 \
--gold-dirs=testing/data/arrow-ipc-stream/integration/0.14.1 \
--gold-dirs=testing/data/arrow-ipc-stream/integration/0.17.1 \
--gold-dirs=testing/data/arrow-ipc-stream/integration/1.0.0-bigendian \
--gold-dirs=testing/data/arrow-ipc-stream/integration/1.0.0-littleendian \
--gold-dirs=testing/data/arrow-ipc-stream/integration/2.0.0-compression \
--gold-dirs=testing/data/arrow-ipc-stream/integration/4.0.0-shareddict
- name: Build
run: conda run --no-capture-output ci/scripts/integration_arrow_build.sh $PWD /build
- name: Run
run: conda run --no-capture-output ci/scripts/integration_arrow.sh $PWD /build

# test FFI against the C-Data interface exposed by pyarrow
pyarrow-integration-test:
Expand Down

0 comments on commit f91a096

Please sign in to comment.