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
4a1d4fda
Commit
4a1d4fda
authored
4 years ago
by
Markus Holzer
Browse files
Options
Downloads
Patches
Plain Diff
test pipeline
parent
d6b5424a
No related branches found
No related tags found
1 merge request
!64
Enable all test cases in windows pipeline
Pipeline
#30381
canceled
4 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-0
2 additions, 0 deletions
.gitlab-ci.yml
lbmpy_tests/test_phase_field_scenarios.py
+6
-6
6 additions, 6 deletions
lbmpy_tests/test_phase_field_scenarios.py
with
8 additions
and
6 deletions
.gitlab-ci.yml
+
2
−
0
View file @
4a1d4fda
...
...
@@ -97,9 +97,11 @@ minimal-windows:
-
win
script
:
-
export NUM_CORES=$(nproc --all)
-
export MPLBACKEND=Agg
-
source /cygdrive/c/Users/build/Miniconda3/Scripts/activate
-
source activate pystencils
-
pip install git+https://gitlab-ci-token:${CI_JOB_TOKEN}@i10git.cs.fau.de/pycodegen/pystencils.git@master#egg=pystencils
-
env
-
pip list
-
python -c "import numpy"
-
py.test -v -m "not (notebook or longrun)"
...
...
This diff is collapsed.
Click to expand it.
lbmpy_tests/test_phase_field_scenarios.py
+
6
−
6
View file @
4a1d4fda
...
...
@@ -41,9 +41,9 @@ def test_drops_between_phases():
def
test_falling_drop
():
sc
=
create_falling_drop
()
#
with warnings.catch_warnings():
#
warnings.simplefilter("ignore")
#
with TemporaryDirectory() as tmp_dir:
#
file_pattern = os.path.join(tmp_dir, "output_%d.png")
#
write_phase_velocity_picture_sequence(sc, file_pattern, total_steps=200)
#
assert np.isfinite(np.max(sc.phi[:, :, :]))
with
warnings
.
catch_warnings
():
warnings
.
simplefilter
(
"
ignore
"
)
with
TemporaryDirectory
()
as
tmp_dir
:
file_pattern
=
os
.
path
.
join
(
tmp_dir
,
"
output_%d.png
"
)
write_phase_velocity_picture_sequence
(
sc
,
file_pattern
,
total_steps
=
200
)
assert
np
.
isfinite
(
np
.
max
(
sc
.
phi
[:,
:,
:]))
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