Skip to content

Commit 088f219

Browse files
committed
update for testing
1 parent db26d48 commit 088f219

File tree

2 files changed

+12
-98
lines changed

2 files changed

+12
-98
lines changed

.github/workflows/pr.yaml

Lines changed: 0 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,10 @@ jobs:
2929
needs:
3030
- changed-files
3131
- checks
32-
- conda-cpp-build
33-
- conda-cpp-tests
34-
- conda-python-build
35-
- conda-python-tests
36-
- docs-build
3732
- wheel-build-libcuopt
3833
- wheel-build-cuopt
3934
- wheel-tests-cuopt
40-
- wheel-build-cuopt-server
41-
- wheel-tests-cuopt-server
4235
- wheel-build-cuopt-mps-parser
43-
- wheel-build-cuopt-sh-client
44-
- test-self-hosted-server
4536
secrets: inherit
4637
uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@branch-25.10
4738
changed-files:
@@ -115,49 +106,6 @@ jobs:
115106
with:
116107
enable_check_generated_files: false
117108

118-
conda-cpp-build:
119-
needs: checks
120-
secrets: inherit
121-
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-build.yaml@branch-25.10
122-
with:
123-
build_type: pull-request
124-
script: ci/build_cpp.sh
125-
conda-cpp-tests:
126-
needs: [conda-cpp-build, changed-files]
127-
secrets: inherit
128-
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml@branch-25.10
129-
#if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_cpp
130-
with:
131-
build_type: pull-request
132-
script: ci/test_cpp.sh
133-
conda-python-build:
134-
needs: conda-cpp-build
135-
secrets: inherit
136-
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-25.10
137-
with:
138-
build_type: pull-request
139-
script: ci/build_python.sh
140-
conda-python-tests:
141-
needs: [conda-python-build, changed-files]
142-
secrets: inherit
143-
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@branch-25.10
144-
#if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python
145-
with:
146-
run_codecov: false
147-
build_type: pull-request
148-
script: ci/test_python.sh
149-
docs-build:
150-
needs: conda-python-build
151-
secrets: inherit
152-
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@branch-25.10
153-
with:
154-
build_type: pull-request
155-
node_type: "gpu-l4-latest-1"
156-
arch: "amd64"
157-
file_to_upload: "docs/cuopt/build/html/"
158-
artifact-name: "cuopt_docs"
159-
container_image: "rapidsai/ci-conda:25.10-latest"
160-
script: "ci/build_docs.sh"
161109
wheel-build-cuopt-mps-parser:
162110
secrets: inherit
163111
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.10
@@ -197,40 +145,3 @@ jobs:
197145
with:
198146
build_type: pull-request
199147
script: ci/test_wheel_cuopt.sh
200-
wheel-build-cuopt-server:
201-
needs: wheel-build-cuopt
202-
secrets: inherit
203-
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.10
204-
with:
205-
build_type: pull-request
206-
script: ci/build_wheel_cuopt_server.sh
207-
package-name: cuopt_server
208-
package-type: python
209-
wheel-build-cuopt-sh-client:
210-
secrets: inherit
211-
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.10
212-
with:
213-
build_type: pull-request
214-
script: ci/build_wheel_cuopt_sh_client.sh
215-
package-name: cuopt_sh_client
216-
package-type: python
217-
append-cuda-suffix: false
218-
pure-wheel: true
219-
# only need 1 build (noarch package): this selects amd64, oldest-supported Python, latest-supported CUDA
220-
matrix_filter: '[map(select(.ARCH == "amd64")) | min_by((.PY_VER | split(".") | map(tonumber)), (.CUDA_VER | split(".") | map(-tonumber)))]'
221-
wheel-tests-cuopt-server:
222-
needs: [wheel-build-cuopt-server, changed-files]
223-
secrets: inherit
224-
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-25.10
225-
#if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_cuopt_server
226-
with:
227-
build_type: pull-request
228-
script: ci/test_wheel_cuopt_server.sh
229-
test-self-hosted-server:
230-
needs: [wheel-build-cuopt-server, changed-files]
231-
secrets: inherit
232-
uses: ./.github/workflows/self_hosted_service_test.yaml
233-
#if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python
234-
with:
235-
build_type: pull-request
236-
script: ci/test_self_hosted_service.sh

ci/test_wheel_cuopt.sh

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ set -euo pipefail
2121
# so those constraints will affect all future 'pip install' calls
2222
source rapids-init-pip
2323

24+
git clone --verbose https://github.com/jump-dev/cuOpt.jl /tmp/cuOpt.jl
25+
cd /tmp/cuOpt.jl
26+
2427
# Download the packages built in the previous step
2528
RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen "${RAPIDS_CUDA_VERSION}")"
2629
CUOPT_MPS_PARSER_WHEELHOUSE=$(RAPIDS_PY_WHEEL_NAME="cuopt_mps_parser" rapids-download-wheels-from-github python)
@@ -56,25 +59,25 @@ elif command -v dnf &> /dev/null; then
5659
dnf -y install file unzip
5760
fi
5861

59-
./datasets/linear_programming/download_pdlp_test_dataset.sh
60-
./datasets/mip/download_miplib_test_dataset.sh
61-
cd ./datasets
62-
./get_test_data.sh --solomon
63-
./get_test_data.sh --tsp
64-
cd -
62+
#./datasets/linear_programming/download_pdlp_test_dataset.sh
63+
#./datasets/mip/download_miplib_test_dataset.sh
64+
#cd ./datasets
65+
#./get_test_data.sh --solomon
66+
#./get_test_data.sh --tsp
67+
#cd -
6568

6669
RAPIDS_DATASET_ROOT_DIR="$(realpath datasets)"
6770
export RAPIDS_DATASET_ROOT_DIR
6871

6972
# Please enable this once ISSUE https://github.com/NVIDIA/cuopt/issues/94 is fixed
7073
# Run CLI tests
71-
timeout 10m bash ./python/libcuopt/libcuopt/tests/test_cli.sh
74+
#timeout 10m bash ./python/libcuopt/libcuopt/tests/test_cli.sh
7275

7376
# Run Python tests
74-
RAPIDS_DATASET_ROOT_DIR=./datasets timeout 30m python -m pytest --verbose --capture=no ./python/cuopt/cuopt/tests/
77+
#RAPIDS_DATASET_ROOT_DIR=./datasets timeout 30m python -m pytest --verbose --capture=no ./python/cuopt/cuopt/tests/
7578

7679
# run cvxpy integration tests
77-
./ci/thirdparty-testing/run_cvxpy_tests.sh
80+
#./ci/thirdparty-testing/run_cvxpy_tests.sh
7881

7982
# run jump tests
8083
./ci/thirdparty-testing/run_jump_tests.sh

0 commit comments

Comments
 (0)