Running local tests

To run tests locally, install pytest (https://docs.pytest.org/en/latest/). Then from the heliopy directory run:


To run all tests apart from the ones that require data to be downloaded run:

pytest -m "not data"


To test code snippets in the documentaiton, change to the doc directory and run:

make doctest

Continuous integration tests

To continuously check the codebase is working properly, tests are automatically run every time a pull request is submitted or a pull request is merged.

Currently tests are run using these services: