Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initiate switch from build_script and test_script to script #191

Merged
merged 5 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/conda-cpp-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ on:
default: "cpu8"
build_script:
type: string
script:
type: string
default: "ci/build_cpp.sh"
matrix_filter:
type: string
Expand Down Expand Up @@ -72,6 +74,7 @@ jobs:

echo "MATRIX=${MATRIX}" | tee --append "${GITHUB_OUTPUT}"
build:
name: ${{ matrix.CUDA_VER }}, ${{ matrix.PY_VER }}, ${{ matrix.ARCH }}, ${{ matrix.LINUX_VER }}
AyodeAwe marked this conversation as resolved.
Show resolved Hide resolved
needs: compute-matrix
timeout-minutes: 480
strategy:
Expand Down Expand Up @@ -107,7 +110,7 @@ jobs:
echo "RAPIDS_REF_NAME=${{ inputs.branch || github.ref_name }}" >> "${GITHUB_ENV}"
echo "RAPIDS_NIGHTLY_DATE=${{ inputs.date }}" >> "${GITHUB_ENV}"
- name: C++ build
run: ${{ inputs.build_script }}
run: ${{ inputs.build_script || inputs.script }}
env:
GH_TOKEN: ${{ github.token }}
- name: Upload additional artifacts
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/conda-cpp-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
type: string
test_script:
type: string
script:
type: string
default: "ci/test_cpp.sh"
matrix_filter:
type: string
Expand Down Expand Up @@ -133,7 +135,7 @@ jobs:
echo "RAPIDS_REF_NAME=${{ inputs.branch || github.ref_name }}" >> "${GITHUB_ENV}"
echo "RAPIDS_NIGHTLY_DATE=${{ inputs.date }}" >> "${GITHUB_ENV}"
- name: C++ tests
run: ${{ inputs.test_script }}
run: ${{ inputs.test_script || inputs.script }}
env:
GH_TOKEN: ${{ github.token }}
- name: Generate test report
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/conda-python-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ on:
default: "cpu8"
build_script:
type: string
script:
type: string
default: "ci/build_python.sh"
matrix_filter:
type: string
Expand Down Expand Up @@ -114,7 +116,7 @@ jobs:
echo "RAPIDS_REF_NAME=${{ inputs.branch || github.ref_name }}" >> "${GITHUB_ENV}"
echo "RAPIDS_NIGHTLY_DATE=${{ inputs.date }}" >> "${GITHUB_ENV}"
- name: Python build
run: ${{ inputs.build_script }}
run: ${{ inputs.build_script || inputs.script }}
env:
GH_TOKEN: ${{ github.token }}
- name: Upload additional artifacts
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/conda-python-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
type: string
test_script:
type: string
script:
type: string
default: "ci/test_python.sh"
run_codecov:
type: boolean
Expand Down Expand Up @@ -137,7 +139,7 @@ jobs:
echo "RAPIDS_REF_NAME=${{ inputs.branch || github.ref_name }}" >> "${GITHUB_ENV}"
echo "RAPIDS_NIGHTLY_DATE=${{ inputs.date }}" >> "${GITHUB_ENV}"
- name: Python tests
run: ${{ inputs.test_script }}
run: ${{ inputs.test_script || inputs.script }}
env:
GH_TOKEN: ${{ github.token }}
- name: Generate test report
Expand Down