Skip to content
Snippets Groups Projects
Commit 4a1d4fda authored by Markus Holzer's avatar Markus Holzer
Browse files

test pipeline

parent d6b5424a
No related branches found
No related tags found
1 merge request!64Enable all test cases in windows pipeline
Pipeline #30381 canceled
......@@ -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)"
......
......@@ -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[:, :, :]))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment