Skip to content

Commit 0bbeb12

Browse files
committed
MINOR: Keep integration job unchanged
1 parent 11c31a4 commit 0bbeb12

1 file changed

Lines changed: 0 additions & 52 deletions

File tree

.github/workflows/test.yml

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -152,111 +152,59 @@ jobs:
152152
integration:
153153
name: AMD64 integration
154154
runs-on: ubuntu-latest
155-
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
156155
timeout-minutes: 60
157156
steps:
158-
- name: Check integration relevance
159-
id: integration-changes
160-
uses: actions/github-script@v8
161-
with:
162-
script: |
163-
if (context.eventName !== 'pull_request') {
164-
core.setOutput('should_run', 'true');
165-
return;
166-
}
167-
168-
const files = await github.paginate(
169-
github.rest.pulls.listFiles,
170-
{
171-
owner: context.repo.owner,
172-
repo: context.repo.repo,
173-
pull_number: context.payload.pull_request.number,
174-
per_page: 100,
175-
}
176-
);
177-
178-
const relevant = files.some(({ filename }) =>
179-
filename === 'compose.yaml' ||
180-
filename === 'pom.xml' ||
181-
filename === '.github/workflows/test.yml' ||
182-
filename.startsWith('c/') ||
183-
filename.startsWith('flight/') ||
184-
filename.startsWith('format/') ||
185-
filename.startsWith('vector/') ||
186-
filename.startsWith('ci/scripts/') ||
187-
filename.startsWith('testing/data/') ||
188-
filename.endsWith('/pom.xml')
189-
);
190-
191-
core.setOutput('should_run', relevant ? 'true' : 'false');
192-
core.notice(
193-
relevant
194-
? 'Integration-relevant changes detected; running integration tests.'
195-
: 'No integration-relevant changes detected; skipping integration tests.'
196-
);
197157
- name: Checkout Arrow
198-
if: steps.integration-changes.outputs.should_run == 'true'
199158
uses: actions/checkout@v6
200159
with:
201160
fetch-depth: 0
202161
repository: apache/arrow
203162
submodules: recursive
204163
- name: Checkout Arrow Rust
205-
if: steps.integration-changes.outputs.should_run == 'true'
206164
uses: actions/checkout@v6
207165
with:
208166
repository: apache/arrow-rs
209167
path: rust
210168
- name: Checkout Arrow nanoarrow
211-
if: steps.integration-changes.outputs.should_run == 'true'
212169
uses: actions/checkout@v6
213170
with:
214171
repository: apache/arrow-nanoarrow
215172
path: nanoarrow
216173
- name: Checkout Arrow .NET
217-
if: steps.integration-changes.outputs.should_run == 'true'
218174
uses: actions/checkout@v6
219175
with:
220176
repository: apache/arrow-dotnet
221177
path: dotnet
222178
- name: Checkout Arrow Go
223-
if: steps.integration-changes.outputs.should_run == 'true'
224179
uses: actions/checkout@v6
225180
with:
226181
repository: apache/arrow-go
227182
path: go
228183
- name: Checkout Arrow Java
229-
if: steps.integration-changes.outputs.should_run == 'true'
230184
uses: actions/checkout@v6
231185
with:
232186
path: java
233187
- name: Checkout Arrow JavaScript
234-
if: steps.integration-changes.outputs.should_run == 'true'
235188
uses: actions/checkout@v6
236189
with:
237190
repository: apache/arrow-js
238191
path: js
239192
- name: Free up disk space
240-
if: steps.integration-changes.outputs.should_run == 'true'
241193
run: |
242194
ci/scripts/util_free_space.sh
243195
- name: Cache Docker Volumes
244-
if: steps.integration-changes.outputs.should_run == 'true'
245196
uses: actions/cache@v5
246197
with:
247198
path: .docker
248199
key: integration-conda-${{ hashFiles('cpp/**') }}
249200
restore-keys: integration-conda-
250201
- name: Setup Python
251-
if: steps.integration-changes.outputs.should_run == 'true'
252202
uses: actions/setup-python@v6
253203
with:
254204
python-version: 3.12
255205
- name: Setup Archery
256-
if: steps.integration-changes.outputs.should_run == 'true'
257206
run: pip install -e dev/archery[docker]
258207
- name: Execute Docker Build
259-
if: steps.integration-changes.outputs.should_run == 'true'
260208
run: |
261209
source ci/scripts/util_enable_core_dumps.sh
262210
archery docker run \

0 commit comments

Comments
 (0)