Repository navigation
505 lines (502 loc) · 17.1 KB
/
Copy pathtest.yaml
File metadata and controls
505 lines (502 loc) · 17.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
name: test
on:
workflow_dispatch:
inputs:
branch:
description: |
Git branch the workflow run targets.
Required even when 'sha' is provided because it is also used for organizing artifacts.
required: true
type: string
date:
description: "Date (YYYY-MM-DD) this run is for. Used to organize artifacts produced by nightly builds"
required: true
type: string
sha:
description: "Full git commit SHA to check out"
required: true
type: string
build_type:
description: "One of: [branch, nightly, pull-request]"
type: string
default: nightly
permissions: {}
jobs:
conda-cpp-checks:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-post-build-checks.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
package_name: libcudf
conda-cpp-tests:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml@main
with:
build_type: ${{ inputs.build_type }}
# Always include pull-request here to warm the JIT cache for PRs
matrix_type: nightly,pull-request
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
script: ci/test_cpp.sh
sha: ${{ inputs.sha }}
cache-paths: .cache/libcudf
cache-key-prefix: libcudf-rtcx-v2
# Caches are immutable. Re-key when the embedded JIT runtime or its tests change so a
# completed run can save newly compiled entries; restore a compatible earlier archive first.
cache-key-files: |
cpp/CMakeLists.txt
cpp/cmake/**
cpp/include/cudf/**
cpp/src/jit/**
cpp/src/binaryop/jit/**
cpp/src/join/jit/**
cpp/src/transform/jit/**
cpp/tests/**
dependencies.yaml
# The JIT cache is independent of the Python interpreter used to run C++ tests.
cache-key-matrix-fields: |
CUDA_VER
ARCH
LINUX_VER
GPU
DRIVER
DEPENDENCIES
# Only main builds populate the cache shared by PRs.
cache-read-only: ${{ inputs.branch != 'main' }}
cache-environment: |
LIBCUDF_KERNEL_CACHE_PATH=.cache/libcudf
# https://github.com/NVIDIA/cudf/issues/23498
matrix_filter: map(select(.GPU != "gb300" and .GPU != "gh200"))
conda-cpp-benchmark-tests:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
node_type: "gpu-rtxpro6000-latest-1"
arch: "amd64"
container_image: "rapidsai/ci-conda:26.12-latest"
script: ci/test_cpp_benchmarks.sh
conda-cpp-memcheck-tests:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
node_type: "gpu-rtxpro6000-latest-1"
arch: "amd64"
container_image: "rapidsai/ci-conda:26.12-latest"
script: "ci/test_cpp_memcheck.sh"
conda-cpp-debug-tests:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
node_type: "gpu-rtxpro6000-latest-1"
arch: "amd64"
container_image: "rapidsai/ci-conda:26.12-latest"
script: "ci/test_cpp_debug.sh"
cpp-linters:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
script: "ci/cpp_linters.sh"
file_to_upload: iwyu_results.txt
conda-python-cudf-tests:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
script: "ci/test_python_cudf.sh"
# https://github.com/NVIDIA/cudf/issues/23498
matrix_filter: map(select(.GPU != "gb300" and .GPU != "gh200"))
matrix_type: nightly
conda-python-other-tests:
# Tests for dask_cudf, custreamz, cudf_kafka are separated for CI parallelism
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
script: "ci/test_python_other.sh"
# https://github.com/NVIDIA/cudf/issues/23498
matrix_filter: map(select(.GPU != "gb300" and .GPU != "gh200"))
matrix_type: nightly
# Test the packaged cuDF Java JAR built by build.yaml java-build for every Maven classifier.
java-build-matrix:
permissions:
contents: read
uses: rapidsai/shared-workflows/.github/workflows/compute-matrix.yaml@main
with:
build_type: ${{ inputs.build_type }}
matrix_name: conda-cpp-build
matrix_filter: 'map(. + {CUDA_MAJOR: (.CUDA_VER | split(".") | .[0])})'
java-tests:
needs: [java-build-matrix]
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.java-build-matrix.outputs.matrix) }}
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
arch: ${{ matrix.ARCH }}
node_type: ${{ matrix.ARCH == 'amd64' && 'gpu-rtxpro6000-latest-1' || 'gpu-l4-latest-1' }}
container_image: "rapidsai/ci-wheel:26.12-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}"
script: "ci/test_packaged_java.sh"
conda-notebook-tests:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
node_type: "gpu-rtxpro6000-latest-1"
arch: "amd64"
container_image: "rapidsai/ci-conda:26.12-latest"
script: "ci/test_notebooks.sh"
wheel-tests-cudf:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
script: ci/test_wheel_cudf.sh
# Same as wheel-tests-cudf, but installs the nightly cupy wheel from
matrix_type: nightly
# scientific-python-nightly-wheels.
wheel-tests-cudf-cupy-nightly:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
continue-on-error: true
script: "env CUPY_NIGHTLY=true ci/test_wheel_cudf.sh"
# Only the 'latest' dependency set is compatible with nightly cupy.
matrix_filter: map(select(.DEPENDENCIES == "latest"))
matrix_type: nightly
wheel-tests-dask-cudf:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
script: ci/test_wheel_dask_cudf.sh
matrix_type: nightly
unit-tests-cudf-pandas:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
script: ci/cudf_pandas_scripts/run_tests.sh
# https://github.com/NVIDIA/cudf/issues/23498
matrix_filter: map(select(.GPU != "gb300" and .GPU != "gh200"))
matrix_type: nightly
third-party-integration-tests-cudf-pandas:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
node_type: "gpu-rtxpro6000-latest-1"
container_image: "rapidsai/ci-conda:26.12-latest"
script: |
ci/cudf_pandas_scripts/third-party-integration/test.sh python/cudf/cudf_pandas_tests/third_party_integration_tests/dependencies.yaml
continue-on-error: true
cuml-compat-tests:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
node_type: "gpu-rtxpro6000-latest-1"
continue-on-error: true
container_image: "rapidsai/ci-conda:26.12-latest"
script: "ci/test_cuml_compat.sh"
wheel-tests-cudf-polars:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
script: "ci/test_wheel_cudf_polars.sh"
# https://github.com/NVIDIA/cudf/issues/23498
matrix_filter: map(select(.GPU != "gb300" and .GPU != "gh200"))
matrix_type: nightly
cudf-polars-polars-tests:
strategy:
fail-fast: false
matrix:
include:
- engine: in-memory
blocksize: default
shard_id: 0
num_shards: 1
- engine: spmd
blocksize: small
shard_id: 0
num_shards: 2
- engine: spmd
blocksize: small
shard_id: 1
num_shards: 2
- engine: spmd
blocksize: default
shard_id: 0
num_shards: 2
- engine: spmd
blocksize: default
shard_id: 1
num_shards: 2
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
container-options: "--cap-add CAP_SYS_PTRACE"
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
script: >-
ci/test_cudf_polars_polars_tests.sh --engine ${{ matrix.engine }}
--inject-gpu-engine-blocksize ${{ matrix.blocksize }}
--run-slow
--cudf-polars-shard-id ${{ matrix.shard_id }}
--cudf-polars-num-shards ${{ matrix.num_shards }}
# https://github.com/NVIDIA/cudf/issues/23498
matrix_filter: map(select(.GPU != "gb300" and .GPU != "gh200"))
matrix_type: nightly
tpc-tests-cudf-polars:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
# This selects "ARCH=amd64 + the latest supported Python + CUDA".
matrix_filter: map(select(.ARCH == "amd64")) | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))]))
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
script: "ci/run_cudf_polars_tpc.sh"
matrix_type: nightly
cudf-polars-test-summary:
needs: cudf-polars-polars-tests
if: ${{ !cancelled() && needs.cudf-polars-polars-tests.result != 'skipped' }}
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
node_type: cpu8
container_image: rapidsai/citestwheel:26.12-latest
script: >-
ci/run_cudf_polars_fallback_diagnostics.sh
${{ inputs.build_type == 'nightly' && '--publish-audit' || '' }}
file_to_upload: cudf-polars-fallback-diagnostics
artifact-name: cudf-polars-fallback-diagnostics-${{ github.run_attempt }}
cudf-polars-test-audit:
needs: cudf-polars-test-summary
if: ${{ inputs.build_type == 'nightly' && !cancelled() && needs.cudf-polars-test-summary.result != 'skipped' }}
permissions:
actions: read
runs-on: ubuntu-latest
steps:
- name: Require current GPU test selections
env:
GH_TOKEN: ${{ github.token }}
AUDIT_ARTIFACT: cudf-polars-fallback-diagnostics-${{ github.run_attempt }}
run: |
gh run download "${GITHUB_RUN_ID}" --repo "${GITHUB_REPOSITORY}" \
--name "${AUDIT_ARTIFACT}" --dir audit
jq -e '.status == "current"' audit/run-list-drift.json
narwhals-tests:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
with:
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
node_type: "gpu-rtxpro6000-latest-1"
container_image: "rapidsai/ci-conda:26.12-latest"
script: ci/test_narwhals.sh
cudf-spark-jni:
permissions:
contents: read
id-token: write
uses: ./.github/workflows/cudf-spark-jni.yaml
with:
cudf_commit: ${{ inputs.sha }}
velox-cudf:
permissions:
contents: read
id-token: write
uses: ./.github/workflows/velox-cudf.yaml
with:
cudf_commit: ${{ inputs.sha }}