Skip to content

Commit 3819985

Browse files
authored
fix(ci): reactivate and fix doctests in ci.yml (#2478)
1 parent 9198cd1 commit 3819985

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
wheelhouse: false
121121
standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
122122
test_any: ${{ matrix.test-any }}
123-
DOCSTRING: ${{ !matrix.test-any }}
123+
DOCSTRING: ${{ matrix.test-any == 'false' }}
124124
secrets: inherit
125125

126126
docker_tests:

src/ansys/dpf/core/field.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,7 @@ def plot(
543543
>>> fields_container = disp.outputs.fields_container()
544544
>>> field = fields_container[0]
545545
>>> mesh.plot(field)
546+
(None, <pyvista.plotting.plotter.Plotter ...>)
546547
547548
Parameters
548549
----------

src/ansys/dpf/core/meshed_region.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,7 @@ def plot(
586586
>>> disp = model.results.displacement()
587587
>>> field = disp.outputs.fields_container()[0]
588588
>>> model.metadata.meshed_region.plot(field)
589+
(None, <pyvista.plotting.plotter.Plotter ...>)
589590
590591
"""
591592
if field_or_fields_container is not None:

src/ansys/dpf/core/meshes_container.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def plot(self, fields_container=None, deform_by=None, scale_factor=1.0, **kwargs
9393
... )
9494
>>> disp_fc = disp_op.outputs.fields_container()
9595
>>> meshes_cont.plot(disp_fc)
96+
(None, <pyvista.plotting.plotter.Plotter ...>)
9697
9798
"""
9899
# DPF defaults

src/ansys/dpf/core/model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ def plot(self, color="w", show_edges=True, **kwargs):
254254
>>> transient = examples.download_transient_result()
255255
>>> model = Model(transient)
256256
>>> model.plot()
257+
(None, <pyvista.plotting.plotter.Plotter ...>)
257258
258259
"""
259260
from ansys.dpf.core.plotter import DpfPlotter

0 commit comments

Comments
 (0)