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: ...@@ -14,7 +14,7 @@ build:
{% if environ.get('BUILD_EGG') %} {% if environ.get('BUILD_EGG') %}
- python setup.py sdist --formats=zip - python setup.py sdist --formats=zip
{% endif %} {% 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: requirements:
host: host:
...@@ -37,7 +37,6 @@ test: ...@@ -37,7 +37,6 @@ test:
- bob-devel {{ bob_devel }}.* - bob-devel {{ bob_devel }}.*
- beat-devel {{ beat_devel }}.* - beat-devel {{ beat_devel }}.*
- bob.extension - bob.extension
- nose
- pytest - pytest
- pytest-qt - pytest-qt
- pytest-cov - pytest-cov
...@@ -50,11 +49,8 @@ test: ...@@ -50,11 +49,8 @@ test:
commands: commands:
- beat editor --help - beat editor --help
- nosetests --with-coverage --cover-package={{ name }} -sv {{ name }} - beat editor start --help
- if [ -n "${BEAT_BROWSER_TESTS}" ]; then cd {{ project_dir }}/conda/js; fi - pytest --cov={{ name }} -v {{ project_dir }}/
- 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
- sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx - sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx
- sphinx-build -aEb doctest {{ project_dir }}/doc sphinx - sphinx-build -aEb doctest {{ project_dir }}/doc sphinx
- conda inspect linkages -p $PREFIX {{ name }} # [not win] - 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