Skip to content

Commit 42c1aaf

Browse files
Fix nightly container testing suite (#495)
<!-- Thank you for contributing to cuOpt :) Here are some guidelines to help the review process go smoothly. Many thanks in advance for your cooperation! Note: The pull request title will be included in the CHANGELOG. --> ## Description Changing container user to root requires changes to how pip and pytest work, so needed update for this. closes #494 ## Issue closes #494 ## Checklist - [x] I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/cuopt/blob/HEAD/CONTRIBUTING.md). - Testing - [ ] New or existing tests cover these changes - [ ] Added tests - [ ] Created an issue to follow-up - [x] NA - Documentation - [ ] The documentation is up to date with these changes - [ ] Added new documentation - [x] NA
1 parent b0b719a commit 42c1aaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/docker/test_image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -euo pipefail
1919

2020
# Install dependencies
2121
apt-get update
22-
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends file bzip2
22+
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends file bzip2 gcc
2323

2424
# Download test data
2525
bash datasets/linear_programming/download_pdlp_test_dataset.sh
@@ -37,7 +37,7 @@ chmod -R a+w "$(pwd)"
3737

3838
cat > /opt/cuopt/test.sh <<EOF
3939
cd /opt/cuopt/cuopt
40-
pip install pytest pexpect
40+
python -m pip install pytest pexpect
4141
export RAPIDS_DATASET_ROOT_DIR=\$(realpath datasets)
4242
echo '----------------- CLI TEST START ---------------'
4343
bash python/libcuopt/libcuopt/tests/test_cli.sh

0 commit comments

Comments
 (0)