Skip to content

Commit e2ea8fa

Browse files
authored
GH-16: Add integration test CI (#489)
Fixes GH-16.
1 parent 3167573 commit e2ea8fa

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

.github/workflows/test.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,3 +145,60 @@ jobs:
145145
env:
146146
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
147147
run: ci/scripts/java_test.sh $(pwd) $(pwd)/build
148+
149+
integration:
150+
name: AMD64 integration
151+
runs-on: ubuntu-latest
152+
timeout-minutes: 60
153+
steps:
154+
- name: Checkout Arrow
155+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
156+
with:
157+
fetch-depth: 0
158+
repository: apache/arrow
159+
submodules: recursive
160+
- name: Checkout Arrow Rust
161+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
162+
with:
163+
repository: apache/arrow-rs
164+
path: rust
165+
- name: Checkout Arrow nanoarrow
166+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
167+
with:
168+
repository: apache/arrow-nanoarrow
169+
path: nanoarrow
170+
- name: Checkout Arrow Go
171+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
172+
with:
173+
repository: apache/arrow-go
174+
path: go
175+
- name: Checkout Arrow Java
176+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
177+
with:
178+
path: java
179+
- name: Free up disk space
180+
run: |
181+
ci/scripts/util_free_space.sh
182+
- name: Cache Docker Volumes
183+
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
184+
with:
185+
path: .docker
186+
key: integration-conda-${{ hashFiles('cpp/**') }}
187+
restore-keys: conda-
188+
- name: Setup Python
189+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
190+
with:
191+
python-version: 3.12
192+
- name: Setup Archery
193+
run: pip install -e dev/archery[docker]
194+
- name: Execute Docker Build
195+
run: |
196+
source ci/scripts/util_enable_core_dumps.sh
197+
archery docker run \
198+
-e ARCHERY_DEFAULT_BRANCH=main \
199+
-e ARCHERY_INTEGRATION_TARGET_IMPLEMENTATIONS=java \
200+
-e ARCHERY_INTEGRATION_WITH_GO=1 \
201+
-e ARCHERY_INTEGRATION_WITH_JAVA=1 \
202+
-e ARCHERY_INTEGRATION_WITH_NANOARROW=1 \
203+
-e ARCHERY_INTEGRATION_WITH_RUST=1 \
204+
conda-integration

0 commit comments

Comments
 (0)