Skip to content

ci: fix unbound CONDA_PREFIX in test_doc_examples.sh#1462

Draft
ramakrishnap-nv wants to merge 2 commits into
mainfrom
fix/conda-prefix-unbound
Draft

ci: fix unbound CONDA_PREFIX in test_doc_examples.sh#1462
ramakrishnap-nv wants to merge 2 commits into
mainfrom
fix/conda-prefix-unbound

Conversation

@ramakrishnap-nv

Copy link
Copy Markdown
Collaborator

Use ${CONDA_PREFIX:-} so the variable defaults to empty when unset (wheel environments). The search loop already skips empty entries, so conda behavior is unchanged. Fixes #1459.

CONDA_PREFIX is unset in wheel test environments. Use \${CONDA_PREFIX:-}
so the variable defaults to empty rather than tripping set -o nounset.
The search loop already skips empty entries, so behavior is unchanged
in conda environments.

Fixes #1459.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Ramakrishna Prabhu <ramakrishnap@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Jun 24, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@ramakrishnap-nv ramakrishnap-nv self-assigned this Jun 24, 2026
@ramakrishnap-nv ramakrishnap-nv added bug Something isn't working non-breaking Introduces a non-breaking change labels Jun 24, 2026
@ramakrishnap-nv

Copy link
Copy Markdown
Collaborator Author

/ok to test 60ef2ce

The MIP C examples directory had .c files but no Makefile, causing
test_doc_examples.sh to mark all 2 examples as failed. The convex
examples Makefile is generic (auto-discovers .c files) so copy it here.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Ramakrishna Prabhu <ramakrishnap@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: test_doc_examples.sh fails silently in wheel-tests-cuopt-server due to unbound CONDA_PREFIX

1 participant