Skip to content

Commit 11f4ce1

Browse files
committed
Define the schedule here
1 parent 564f155 commit 11f4ce1

1 file changed

Lines changed: 28 additions & 23 deletions

File tree

.github/workflows/cron.yaml

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,33 @@
22
name: Test dask-upstream
33

44
on:
5-
workflow_dispatch:
6-
inputs:
7-
branch:
8-
required: true
9-
type: string
10-
date:
11-
required: true
12-
type: string
13-
sha:
14-
required: true
15-
type: string
16-
5+
schedule:
6+
# 18:15 UTC daily.
7+
# We want to run after the nightly pipeline finishes.
8+
# https://github.com/rapidsai/workflows/blob/main/.github/workflows/nightly-pipeline-trigger.yaml is
9+
# currently set to 5:00 UTC and takes ~12 hours
10+
- cron: "15 18 * * *"
11+
1712
jobs:
13+
setup:
14+
runs-on: ubuntu-latest
15+
outputs:
16+
date: ${{ steps.date.outputs.date }}
17+
steps:
18+
- name: Get current date
19+
id: date
20+
run: echo name=date::$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
21+
1822
dask-tests:
19-
# run the Dask and Distributed unit tests
20-
secrets: inherit
21-
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-25.02
22-
with:
23-
# This selects "ARCH=amd64 + the latest supported Python + CUDA".
24-
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))]))
25-
build_type: nightly
26-
branch: ${{ inputs.branch }}
27-
date: ${{ inputs.date }}
28-
sha: ${{ inputs.sha }}
29-
script: scripts/run.sh
23+
needs: setup
24+
# run the Dask and Distributed unit tests
25+
secrets: inherit
26+
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-25.02
27+
with:
28+
# This selects "ARCH=amd64 + the latest supported Python + CUDA".
29+
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))]))
30+
build_type: nightly
31+
branch: main
32+
date: ${{ needs.setup.outputs.date }}
33+
sha: ${{ github.sha }}
34+
script: scripts/run.sh

0 commit comments

Comments
 (0)