You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And if we add tests of the notebook they will also require:
matplotlib
runipy or pytest-ipynb
None of these are required dependencies for aospy, so we should only run those tests if those libraries are present on someone's system. xarray has some good examples for how to do this in: tests/init.py.
The text was updated successfully, but these errors were encountered:
spencerkclark
changed the title
Add decorators to skip tests that require optional dependencies
Add decorators to potentially skip tests that require optional dependencies
Mar 30, 2017
It would be great if you could take care of multiprocess (I took care of matplotlib already; the notebook test is the only one that requires it).
Simultaneously could you add a new CI environment, called like environment-py27-min.yml (e.g. xarray's) that includes only our minimum requirements? This will ensure that our import skips are operating as desired.
Currently we have tests which require:
And if we add tests of the notebook they will also require:
None of these are required dependencies for aospy, so we should only run those tests if those libraries are present on someone's system. xarray has some good examples for how to do this in: tests/init.py.
The text was updated successfully, but these errors were encountered: