Skip to content
Snippets Groups Projects
Commit 51fe0683 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[conda] Update testing to use pytest in place of nose

parent 1a8dbdeb
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ build:
{% if environ.get('BUILD_EGG') %}
- python setup.py sdist --formats=zip
{% endif %}
- python setup.py install --single-version-externally-managed --record record.txt
- "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv"
requirements:
host:
......@@ -37,7 +37,6 @@ test:
- bob-devel {{ bob_devel }}.*
- beat-devel {{ beat_devel }}.*
- bob.extension
- nose
- pytest
- pytest-qt
- pytest-cov
......@@ -50,11 +49,8 @@ test:
commands:
- beat editor --help
- nosetests --with-coverage --cover-package={{ name }} -sv {{ name }}
- if [ -n "${BEAT_BROWSER_TESTS}" ]; then cd {{ project_dir }}/conda/js; fi
- if [ -n "${BEAT_BROWSER_TESTS}" ]; then npm install; fi
- if [ -n "${BEAT_BROWSER_TESTS}" ]; then CHROMIUM_BIN=chromium-browser npm test; fi
- if [ -n "${BEAT_BROWSER_TESTS}" ]; then cd -; fi
- beat editor start --help
- pytest --cov={{ name }} -v {{ project_dir }}/
- 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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment