Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
lbmpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pycodegen
lbmpy
Commits
d62d6806
Commit
d62d6806
authored
5 years ago
by
Michael Kuron
Browse files
Options
Downloads
Patches
Plain Diff
skip tests with unmet dependencies
parent
5dcff81d
No related branches found
No related tags found
1 merge request
!22
CI: Replace minimal-ubuntu job with ubuntu
Pipeline
#21262
failed
5 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
conftest.py
+6
-1
6 additions, 1 deletion
conftest.py
lbmpy_tests/phasefield/test_nphase_1D.py
+1
-1
1 addition, 1 deletion
lbmpy_tests/phasefield/test_nphase_1D.py
lbmpy_tests/phasefield/test_nphase_2D.py
+1
-1
1 addition, 1 deletion
lbmpy_tests/phasefield/test_nphase_2D.py
with
8 additions
and
3 deletions
conftest.py
+
6
−
1
View file @
d62d6806
...
...
@@ -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
"
)
...
...
This diff is collapsed.
Click to expand it.
lbmpy_tests/phasefield/test_nphase_1D.py
+
1
−
1
View file @
d62d6806
...
...
@@ -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
()
This diff is collapsed.
Click to expand it.
lbmpy_tests/phasefield/test_nphase_2D.py
+
1
−
1
View file @
d62d6806
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment