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
Update self_test #6600
Update self_test #6600
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.
My only remaining comment is if it's worth running this as part of our CI?
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.
Ok, so I tested this locally and it dosen't seem to work if you run it outside of the source checkout:
python -m "sunpy.tests.self_test"
Starting sunpy self test...
Checking for packages needed to run sunpy:
All required and optional sunpy dependencies are installed.
Starting the sunpy test suite:
==================================================================================== test session starts =====================================================================================
platform linux -- Python 3.10.8, pytest-7.1.1, pluggy-1.0.0
Matplotlib: 3.6.1
Freetype: 2.6.1
rootdir: /home/stuart
plugins: remotedata-0.3.3, openfiles-0.5.0, mock-3.7.0, filter-subpackage-0.1.1, doctestplus-0.12.0, cov-3.0.0, astropy-header-0.2.1, arraydiff-0.5.0, hypothesis-6.39.4, mpl-0.14.0, intercept-remote-1.25, asdf-2.11.0, forked-1.4.0, xdist-2.5.0, napari-plugin-engine-0.2.0, npe2-0.6.1, napari-0.4.16, astropy-0.10.0
collected 0 items
=================================================================================== no tests ran in 0.47s ====================================================================================
That is odd, before I did the last commit, I tested it outside of the repo and it did run for me. |
Oh I think I know what it is, did you remove the Not sure how to work around that. |
python -m sunpy.tests.self_test