-
Notifications
You must be signed in to change notification settings - Fork 91
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
Fix test_auth_environ_raises integration
test
#320
Fix test_auth_environ_raises integration
test
#320
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I felt the comment could use a touch more detail :)
Any idea why this didn't fail on the feature branch prior to merge?
Co-authored-by: Matt Fisher <[email protected]>
Integration tests aren't run on PRs, only pushes to earthaccess/.github/workflows/integration-test.yml Lines 3 to 11 in d0386ae
|
OT: Any opinions on setting up integration tests to also run on |
The main issue is the integration tests are using repo secrets, which aren't available on forks, only the base I think increased visibility into when integration tests fail would help. Over in |
Great points! To be clear, the event type which protects secrets from forks is |
This is currently failing on
main
withFAILED tests/integration/test_api.py::test_auth_environ_raises - Failed: DID NOT RAISE <class 'RuntimeError'>
(for example, see this CI build) due to the new automatic authentication update (xref #300).This PR update this test accordingly so it passes while still keeping the original intent of the test