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

Unit tests with GitHub Actions failing #1

Open
sapols opened this issue Jun 20, 2024 · 2 comments
Open

Unit tests with GitHub Actions failing #1

sapols opened this issue Jun 20, 2024 · 2 comments

Comments

@sapols
Copy link
Contributor

sapols commented Jun 20, 2024

We're going to attempt to automate running all core package unit tests with GitHub Actions. Ideally with multiple Python versions and OSs. The thinking being that if the unit tests pass, the latest versions of the core packages must all be compatible together (double check that reasoning to ensure we're thinking about this correctly...).

The tests currently fail. Fix them.

@sapols
Copy link
Contributor Author

sapols commented Jun 25, 2024

Note PlasmaPy removed its requirements.txt file so that part will have to be rewritten to install dependencies from their pyproject.toml file. Could be simple using poetry? pip install poetry poetry install

@sapols
Copy link
Contributor Author

sapols commented Jun 26, 2024

Test Summary for Core PyHC Packages

Package Passing? Notes
hapiclient Yes ✅ Passes with all Python versions ✅
kamodo No ❌ No unit tests exist ❌
plasmapy Yes ✅ Ignoring 6 files that error and 18 failing tests
pysat No ❌ Commented out due to "error in Sphinx setup command: use_2to3 is invalid."
pyspedas Yes ✅ Ignoring 6 tests
spacepy Yes ✅ Tests from 4 files fail in test_all.py; manually running all test files but those 4 instead
sunpy No ❌ Commented out due to "pytest: error: unrecognized arguments: --doctest-rst --dist --arraydiff"

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

No branches or pull requests

1 participant