Skip to content

Commit cc1410b

Browse files
authored
Add build_type input to test.yaml (#1541)
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) - Bradley Dice (https://github.com/bdice) Approvers: - Bradley Dice (https://github.com/bdice) URL: #1541
1 parent 262b3fb commit cc1410b

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/test.yaml

Lines changed: 8 additions & 5 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/[email protected]
2023
with:
21-
build_type: nightly
24+
build_type: ${{ inputs.build_type }}
2225
branch: ${{ inputs.branch }}
2326
date: ${{ inputs.date }}
2427
sha: ${{ inputs.sha }}
@@ -27,23 +30,23 @@ jobs:
2730
secrets: inherit
2831
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
2932
with:
30-
build_type: nightly
33+
build_type: ${{ inputs.build_type }}
3134
branch: ${{ inputs.branch }}
3235
date: ${{ inputs.date }}
3336
sha: ${{ inputs.sha }}
3437
conda-python-tests:
3538
secrets: inherit
3639
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
3740
with:
38-
build_type: nightly
41+
build_type: ${{ inputs.build_type }}
3942
branch: ${{ inputs.branch }}
4043
date: ${{ inputs.date }}
4144
sha: ${{ inputs.sha }}
4245
wheel-tests-cuspatial:
4346
secrets: inherit
4447
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
4548
with:
46-
build_type: nightly
49+
build_type: ${{ inputs.build_type }}
4750
branch: ${{ inputs.branch }}
4851
date: ${{ inputs.date }}
4952
sha: ${{ inputs.sha }}
@@ -52,7 +55,7 @@ jobs:
5255
secrets: inherit
5356
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
5457
with:
55-
build_type: nightly
58+
build_type: ${{ inputs.build_type }}
5659
branch: ${{ inputs.branch }}
5760
date: ${{ inputs.date }}
5861
sha: ${{ inputs.sha }}

0 commit comments

Comments
 (0)