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

Fix and test STScI Sun URLs #345

Merged

Conversation

mkelley
Copy link
Member

@mkelley mkelley commented Jun 6, 2022

Address #342 and update weekly tests to hopefully more quickly find issues like this. Also, fix a bug in the CI github workflow that was not including remote tests.

@pep8speaks
Copy link

pep8speaks commented Jun 24, 2022

Hello @mkelley! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2022-07-24 11:44:54 UTC

@mkelley mkelley force-pushed the fix-and-test-stsci-sun-urls-2022.06 branch from d439cf2 to 3767872 Compare June 24, 2022 21:14
@mkelley mkelley force-pushed the fix-and-test-stsci-sun-urls-2022.06 branch from 3767872 to 7a3552d Compare July 6, 2022 13:21
@mkelley
Copy link
Member Author

mkelley commented Jul 6, 2022

I don't see a way to get ADS queries to run with remote tests on PRs without exposing the secret API key. I've disabled remote tests in PRs, restoring the previous behavior. One path forward is to use ads's sandbox
to produce mock tests https://ads.readthedocs.io/en/latest/#sandbox Or, skip ADS remote tests when the API key is missing.

Copy link
Contributor

@jianyangli jianyangli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mkelley I'm not really familiar with the test set up, so I don't feel qualified to review the .yml and tox.ini. Maybe you should get someone else to check those parts?

@mkelley
Copy link
Member Author

mkelley commented Jul 6, 2022

Maybe @migueldvb can give them a quick look?

@mkelley mkelley force-pushed the fix-and-test-stsci-sun-urls-2022.06 branch from 3ef8660 to e9dec05 Compare July 7, 2022 15:50
@mkelley mkelley force-pushed the fix-and-test-stsci-sun-urls-2022.06 branch from cbaba8d to a1fb6b2 Compare July 24, 2022 11:44
@mkelley mkelley merged commit 997d64d into NASA-Planetary-Science:main Jul 24, 2022
@mkelley mkelley deleted the fix-and-test-stsci-sun-urls-2022.06 branch July 24, 2022 12:01
@migueldvb
Copy link
Member

Looks great, sorry I missed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants