Skip to content
Snippets Groups Projects
Commit c3fcfb31 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Always skipping pystencils.autodiff in pytest (not only on 'CI')

parent 964e82ff
No related branches found
No related tags found
1 merge request!40Contest: ignore two more files if waLBerla is not available
...@@ -33,6 +33,8 @@ add_path_to_ignore('pystencils_tests/benchmark') ...@@ -33,6 +33,8 @@ add_path_to_ignore('pystencils_tests/benchmark')
add_path_to_ignore('_local_tmp') add_path_to_ignore('_local_tmp')
collect_ignore += [os.path.join(SCRIPT_FOLDER, "pystencils/autodiff.py")]
try: try:
import pycuda import pycuda
except ImportError: except ImportError:
......
...@@ -8,7 +8,5 @@ Installation: ...@@ -8,7 +8,5 @@ Installation:
.. code-block:: bash .. code-block:: bash
pip install pystencils-autodiff pip install pystencils-autodiff
""" """
import os
if 'CI' not in os.environ: raise NotImplementedError('pystencils-autodiff is not installed. Run `pip install pystencils-autodiff`')
raise NotImplementedError('pystencils-autodiff is not installed. Run `pip install pystencils-autodiff`')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment