Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
fslpy
Commits
976f5414
Commit
976f5414
authored
Feb 28, 2018
by
Paul McCarthy
🚵
Browse files
Don't run noroottests in conda build
parent
1bbb68d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
.conda/meta.yaml
View file @
976f5414
...
...
@@ -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
:
...
...
setup.cfg
View file @
976f5414
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment