numpydoc
numpydoc copied to clipboard
"Make sure CLI works" job in `test.yml` has an exception that doesn't cause the job to fail
I'm not sure if this is intentional, but the "Make sure CLI works" job in test.yml has an exception that doesn't cause the job to fail. I only noticed this by accident.
https://github.com/numpy/numpydoc/actions/runs/19341338973/job/55330245626#step:8:90
It's tough to tell what's supposed to happen here - from the traceback, it looks like this is expected to "fail" (i.e. raise an exception). In that sense, raising the exception is the expected behavior so the job itself would be expected to pass (i.e. no red x). Now... would the job fail if the exception were not raised? I'm not so sure...