Test dask-upstream #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based off https://github.com/rapidsai/cudf/blob/branch-25.02/.github/workflows/pandas-tests.yaml | |
name: Test dask-upstream | |
on: | |
schedule: | |
# 18:15 UTC daily. | |
# We want to run after the nightly pipeline finishes. | |
# https://github.com/rapidsai/workflows/blob/main/.github/workflows/nightly-pipeline-trigger.yaml is | |
# currently set to 5:00 UTC and takes ~12 hours | |
- cron: "15 18 * * *" | |
workflow_dispatch: {} | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
outputs: | |
date: ${{ steps.date.outputs.date }} | |
branch: ${{ steps.branch.outputs.branch }} | |
steps: | |
- name: Get current date | |
id: date | |
run: echo name=date::$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT" | |
- name: Get current branch | |
id: branch | |
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT | |
dask-tests: | |
needs: setup | |
# run the Dask and Distributed unit tests | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
with: | |
# 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))])) | |
build_type: nightly | |
branch: ${{ needs.setup.outputs.branch }} | |
date: ${{ needs.setup.outputs.date }} | |
sha: ${{ github.sha }} | |
script: scripts/run.sh |