Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail if the computed matrix is empty. #187

Merged
merged 3 commits into from
Mar 4, 2024

Conversation

bdice
Copy link
Contributor

@bdice bdice commented Mar 4, 2024

Currently the compute-matrix job passes even if the computed matrix is empty. Empty matrices raise an error (as shown below) so this should not be permitted.

image

This is tested in rapidsai/cudf#15221.

.github/workflows/conda-python-build.yaml Outdated Show resolved Hide resolved
.github/workflows/conda-python-tests.yaml Outdated Show resolved Hide resolved
.github/workflows/wheels-build.yaml Outdated Show resolved Hide resolved
@bdice
Copy link
Contributor Author

bdice commented Mar 4, 2024

@ajschmidt8 It doesn't seem like the halt_error is actually causing a failure. https://github.com/rapidsai/cudf/actions/runs/8143986136/job/22257171652?pr=15221

I tried this locally and halt_error(1) gives an exit code of 1. Do we need to split up the pipeline somehow so that we can get the exit code to fail?

(edit: mashed the close button by accident)

@bdice bdice closed this Mar 4, 2024
@bdice bdice reopened this Mar 4, 2024
@bdice bdice marked this pull request as ready for review March 4, 2024 17:30
@bdice
Copy link
Contributor Author

bdice commented Mar 4, 2024

@bdice bdice merged commit 525ca3e into branch-24.04 Mar 4, 2024
@ajschmidt8 ajschmidt8 deleted the compute-matrix-fail-if-empty branch March 4, 2024 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants