Skip to content
Snippets Groups Projects
Commit 976f5414 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Don't run noroottests in conda build

parent 1bbb68d9
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ requirements: ...@@ -19,7 +19,7 @@ requirements:
{% endfor %} {% endfor %}
run: run:
- python - python
{% for package in data.get('install_requires', {}) %} {% for package in data.get('install_requires', {}) %}
- {{ package.lower() }} - {{ package.lower() }}
{% endfor %} {% endfor %}
...@@ -36,11 +36,11 @@ test: ...@@ -36,11 +36,11 @@ test:
requires: requires:
{% for package in data.get('setup_requires', {}) %} {% for package in data.get('setup_requires', {}) %}
- {{ package.lower() }} - {{ package.lower() }}
{% endfor %} {% endfor %}
source_files: source_files:
- {{ data['test_suite'] }} - {{ data['test_suite'] }}
commands: 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 %} {% endif %}
about: about:
......
...@@ -6,12 +6,15 @@ universal=1 ...@@ -6,12 +6,15 @@ universal=1
[tool:pytest] [tool:pytest]
# Available test markers: # Available test markers:
# - fsltest: Requires FSL # - fsltest: Requires FSL
# - wxtest: Requires wxPython # - wxtest: Requires wxPython
# - dicomtest: Requires dcm2niix # - dicomtest: Requires dcm2niix
# - meshtest: Requires trimesh and rtree # - meshtest: Requires trimesh and rtree
# - igziptest: Requires indexed_gzip # - igziptest: Requires indexed_gzip
# - longtest: Takes a long time # - noroottest: Need to be executed as
# non-root user (will fail
# otherwise)
# - longtest: Takes a long time
# #
testpaths = tests testpaths = tests
......
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