test #157
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
name: test | |
on: | |
workflow_dispatch: | |
inputs: | |
branch: | |
required: true | |
type: string | |
date: | |
required: true | |
type: string | |
sha: | |
required: true | |
type: string | |
jobs: | |
conda-cpp-tests: | |
secrets: inherit | |
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-tests.yaml@cuda-120 | |
with: | |
build_type: nightly | |
branch: ${{ inputs.branch }} | |
date: ${{ inputs.date }} | |
sha: ${{ inputs.sha }} | |
conda-python-tests-singlegpu: | |
secrets: inherit | |
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@cuda-120 | |
with: | |
build_type: nightly | |
branch: ${{ inputs.branch }} | |
date: ${{ inputs.date }} | |
sha: ${{ inputs.sha }} | |
test_script: "ci/test_python_singlegpu.sh" | |
conda-python-tests-dask: | |
secrets: inherit | |
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@cuda-120 | |
with: | |
build_type: nightly | |
branch: ${{ inputs.branch }} | |
date: ${{ inputs.date }} | |
sha: ${{ inputs.sha }} | |
test_script: "ci/test_python_dask.sh" | |
wheel-tests-cuml: | |
secrets: inherit | |
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@cuda-120 | |
with: | |
build_type: nightly | |
branch: ${{ inputs.branch }} | |
date: ${{ inputs.date }} | |
sha: ${{ inputs.sha }} | |
package-name: cuml | |
test-before-amd64: "pip install git+https://github.com/dask/dask.git@main git+https://github.com/dask/distributed.git@main git+https://github.com/rapidsai/[email protected]" | |
# On arm also need to install CMake because treelite needs to be compiled (no wheels available for arm). | |
test-before-arm64: "pip install cmake && pip install git+https://github.com/dask/dask.git@main git+https://github.com/dask/distributed.git@main git+https://github.com/rapidsai/[email protected]" | |
# parallelization is based on current test memory usage | |
test-unittest: "python -m pytest ./python/cuml/tests -k 'not test_sparse_pca_inputs' -n 8 --ignore=python/cuml/tests/dask && python -m pytest ./python/cuml/tests -k 'test_sparse_pca_inputs' && python -m pytest ./python/cuml/tests/dask" |