File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
4+ # SPDX-License-Identifier: Apache-2.0
5+ #
6+ # Licensed under the Apache License, Version 2.0 (the "License");
7+ # you may not use this file except in compliance with the License.
8+ # You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing, software
13+ # distributed under the License is distributed on an "AS IS" BASIS,
14+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ # See the License for the specific language governing permissions and
16+ # limitations under the License.
17+
18+
19+ git clone -b cuopt_solver https://github.com/tmckayus/cvxpy
20+ pushd cvxpy || exit 1
21+ pip install pytest-error-for-skips
22+ pip install -e .
23+ python -m pytest --error-for-skips cvxpy/tests/test_conic_solvers.py -k " TestCUOPT"
24+ EXITCODE=" $? "
25+ if [ " $EXITCODE " -eq 0 ]; then
26+ echo PASSED smoketest
27+ else
28+ echo FAILED smoketest
29+ fi
30+ popd || exit 1
31+ exit $EXITCODE
Original file line number Diff line number Diff line change @@ -59,3 +59,4 @@ timeout 10m bash ./python/libcuopt/libcuopt/tests/test_cli.sh
5959# Run Python tests
6060RAPIDS_DATASET_ROOT_DIR=./datasets timeout 30m python -m pytest --verbose --capture=no ./python/cuopt/cuopt/tests/
6161
62+ timeout 3m ./ci/external/cvxpy_smoketest.sh
You can’t perform that action at this time.
0 commit comments