diff --git a/.conda/meta.yaml b/.conda/meta.yaml index 9b4c4afa51c16efc6d76259480bbe5974c16cb90..1f2d462773d9e4c6aa7d0b9819d9f722b5eb1abe 100644 --- a/.conda/meta.yaml +++ b/.conda/meta.yaml @@ -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: diff --git a/setup.cfg b/setup.cfg index 591cd65648df855238f8e4ee50a08c20888b1fd7..e82f3b4445a47f24679fc30bd1f339fdcb5e4832 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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