Skip to content

Commit 21219af

Browse files
gforsythdivyegala
authored andcommitted
Add build_type input field for test.yaml (rapidsai#661)
Exposes `build_type` as an input in `test.yaml` so that `test.yaml` can be manually run against a specific branch/commit as needed. The default value is still `nightly`, and without maintainer intervention, that is what will run each night. xref rapidsai/build-planning#147 Authors: - Gil Forsyth (https://github.com/gforsyth) Approvers: - James Lamb (https://github.com/jameslamb) - Corey J. Nolet (https://github.com/cjnolet) URL: rapidsai#661
1 parent 999f40d commit 21219af

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/test.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@ on:
1212
sha:
1313
required: true
1414
type: string
15+
build_type:
16+
type: string
17+
default: nightly
1518

1619
jobs:
1720
conda-cpp-checks:
1821
secrets: inherit
1922
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-post-build-checks.yaml@nvks-runners
2023
with:
21-
build_type: nightly
24+
build_type: ${{ inputs.build_type }}
2225
branch: ${{ inputs.branch }}
2326
date: ${{ inputs.date }}
2427
sha: ${{ inputs.sha }}
@@ -28,23 +31,23 @@ jobs:
2831
secrets: inherit
2932
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml@nvks-runners
3033
with:
31-
build_type: nightly
34+
build_type: ${{ inputs.build_type }}
3235
branch: ${{ inputs.branch }}
3336
date: ${{ inputs.date }}
3437
sha: ${{ inputs.sha }}
3538
conda-python-tests:
3639
secrets: inherit
3740
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@nvks-runners
3841
with:
39-
build_type: nightly
42+
build_type: ${{ inputs.build_type }}
4043
branch: ${{ inputs.branch }}
4144
date: ${{ inputs.date }}
4245
sha: ${{ inputs.sha }}
4346
wheel-tests-cuvs:
4447
secrets: inherit
4548
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@nvks-runners
4649
with:
47-
build_type: nightly
50+
build_type: ${{ inputs.build_type }}
4851
branch: ${{ inputs.branch }}
4952
date: ${{ inputs.date }}
5053
sha: ${{ inputs.sha }}

0 commit comments

Comments
 (0)