-
Notifications
You must be signed in to change notification settings - Fork 85
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
Integration tests failing silently #737
Comments
I can't reproduce it with Poetry on my local machine either. But I can reproduce with Act:
|
I can make the step fail by replacing I can't get the step to fail by manually activating the venv with poetry out of the picture: |
Just grasping at straws at this point. Entirely removing poetry from that workflow and replacing with pip, while it makes the workflow much simpler, does not cause the job to fail when expected. Running pytest directly in the workflow without the script does not cause the job to fail when expected. |
I think this is the oldest run on |
Finally! Got it to fail loudly by passing a path argument to pytest, e.g. |
@betolink reminded me that we have code that allows up to 10% failure rate: Right now, can print/log a message stating why the failure was tolerated so nobody goes off on a wild goose chase trying to figure this out 😆 Long term, the root problem is that we're testing against a random list of datasets. We should test against a fixed list of datasets that we expect to work (#215). |
😱
https://github.com/nsidc/earthaccess/actions/runs/9666562376/job/26666365020
I believe part of the problem is
poetry run
, as I cannot reproduce this without Poetry.The text was updated successfully, but these errors were encountered: