diff --git a/conda/meta.yaml b/conda/meta.yaml index ac8d86a95e927c1c61d17ab1449d87a1eb4fb06d..97b5bf10872e29d3a4c4c135437f35c12557fdc6 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -49,13 +49,14 @@ test: commands: # runs tests for package only, report only what is in the package # creates html and xml reports and place them in specific directories - - nosetests --with-coverage --cover-package={{ name }} -sv {{ name }} + - pytest --verbose --cov {{ name }} --cov-report term-missing --cov-report html:{{ project_dir }}/sphinx/coverage --cov-report xml:{{ project_dir }}/coverage.xml --pyargs {{ name }} - sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx - sphinx-build -aEb doctest {{ project_dir }}/doc sphinx - conda inspect linkages -p $PREFIX {{ name }} # [not win] - conda inspect objects -p $PREFIX {{ name }} # [osx] requires: - - nose {{ nose }} + - pytest {{ pytest }} + - pytest-cov {{ pytest_cov }} - coverage {{ coverage }} - sphinx {{ sphinx }} - sphinx_rtd_theme {{ sphinx_rtd_theme }}