Skip to content
Snippets Groups Projects
Commit d62d6806 authored by Michael Kuron's avatar Michael Kuron 🎓
Browse files

skip tests with unmet dependencies

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