Commit d62d6806 authored by Michael Kuron's avatar Michael Kuron
Browse files

skip tests with unmet dependencies

parent 5dcff81d
Pipeline #21262 failed with stage
in 65 minutes and 1 second
......@@ -46,6 +46,11 @@ except ImportError:
collect_ignore += [os.path.join(SCRIPT_FOLDER, "lbmpy_tests/test_serial_scenarios.py")]
collect_ignore += [os.path.join(SCRIPT_FOLDER, "lbmpy_tests/test_datahandling_parallel.py")]
try:
import blitzdb
except ImportError:
collect_ignore += [os.path.join(SCRIPT_FOLDER, "lbmpy_tests/benchmark"),
os.path.join(SCRIPT_FOLDER, "lbmpy_tests/full_scenarios/kida_vortex_flow/scenario_kida_vortex_flow.py")]
collect_ignore += [os.path.join(SCRIPT_FOLDER, 'setup.py')]
......@@ -104,7 +109,7 @@ class IPyNbFile(pytest.File):
exporter.exclude_markdown = True
exporter.exclude_input_prompt = True
notebook_contents = self.fspath.open()
notebook_contents = self.fspath.open(encoding='utf-8')
with warnings.catch_warnings():
warnings.filterwarnings("ignore", "IPython.core.inputsplitter is deprecated")
......
......@@ -8,7 +8,6 @@ from lbmpy.phasefield.analytical import (
from lbmpy.phasefield.experiments1D import init_sharp_interface
from lbmpy.phasefield.scenarios import create_n_phase_model
from pystencils import create_data_handling, make_slice
from pystencils.runhelper import ParameterStudy
def extract_profile(sc, width, phase_idx=1):
......@@ -111,6 +110,7 @@ def study_1d(study):
if __name__ == '__main__':
from pystencils.runhelper import ParameterStudy
s = ParameterStudy(run_n_phase_1d)
study_1d(s)
s.run_from_command_line()
......@@ -9,7 +9,6 @@ from lbmpy.phasefield.contact_angle_circle_fitting import liquid_lens_neumann_an
from lbmpy.phasefield.post_processing import analytic_neumann_angles
from lbmpy.phasefield.scenarios import create_n_phase_model, create_three_phase_model
from pystencils import create_data_handling, make_slice
from pystencils.runhelper import ParameterStudy
from pystencils.utils import boolean_array_bounding_box
color = {'yellow': '\033[93m',
......@@ -209,6 +208,7 @@ def study_2d(study, **kwargs):
def main():
from pystencils.runhelper import ParameterStudy
s = ParameterStudy(run_n_phase_2d)
# study_3phase(s)
study_2d(s)
......
Markdown is supported
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