Commit 976f5414 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Don't run noroottests in conda build

parent 1bbb68d9
......@@ -19,7 +19,7 @@ requirements:
{% endfor %}
run:
- python
- python
{% for package in data.get('install_requires', {}) %}
- {{ package.lower() }}
{% endfor %}
......@@ -36,11 +36,11 @@ test:
requires:
{% for package in data.get('setup_requires', {}) %}
- {{ package.lower() }}
{% endfor %}
{% endfor %}
source_files:
- {{ data['test_suite'] }}
commands:
- python -m pytest {{ data['test_suite'] }} -m "not (fsltest or wxtest or dicomtest or meshtest or igziptest or longtest)"
- python -m pytest {{ data['test_suite'] }} -m "not (fsltest or wxtest or dicomtest or meshtest or igziptest or noroottest or longtest)"
{% endif %}
about:
......
......@@ -6,12 +6,15 @@ universal=1
[tool:pytest]
# Available test markers:
# - fsltest: Requires FSL
# - wxtest: Requires wxPython
# - dicomtest: Requires dcm2niix
# - meshtest: Requires trimesh and rtree
# - igziptest: Requires indexed_gzip
# - longtest: Takes a long time
# - fsltest: Requires FSL
# - wxtest: Requires wxPython
# - dicomtest: Requires dcm2niix
# - meshtest: Requires trimesh and rtree
# - igziptest: Requires indexed_gzip
# - noroottest: Need to be executed as
# non-root user (will fail
# otherwise)
# - longtest: Takes a long time
#
testpaths = tests
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment