File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1414 RESET_IMAGE_CACHE : 0
1515 PACKAGE_NAME : ansys-tools-visualization-interface
1616 DOCUMENTATION_CNAME : visualization-interface.tools.docs.pyansys.com
17+ IN_GITHUB_ACTIONS : true
1718
1819concurrency :
1920 group : ${{ github.workflow }}-${{ github.ref }}
Original file line number Diff line number Diff line change 2020# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121# SOFTWARE.
2222"""Test module for the generic plotter."""
23+ import os
2324from pathlib import Path
2425
2526import numpy as np
27+ import pytest
2628import pyvista as pv
2729
2830from ansys .tools .visualization_interface import ClipPlane , MeshObjectPlot , Plotter
2931from ansys .tools .visualization_interface .backends .pyvista import PyVistaBackend
3032
33+ IN_GITHUB_ACTIONS = os .getenv ("GITHUB_ACTIONS" ) == "true"
34+
3135
3236class CustomTestClass :
3337 """Mock custom class for testing MeshObjectPlot."""
@@ -44,7 +48,7 @@ def test_plotter_add_pd():
4448 pl .plot (sphere )
4549 pl .show ()
4650
47-
51+ @ pytest . mark . skipif ( IN_GITHUB_ACTIONS , reason = "Qt breaks CICD." )
4852def test_plotter_pyvistaqt ():
4953 """Adds polydata to the plotter."""
5054 qt_backend = PyVistaBackend (use_qt = True )
You can’t perform that action at this time.
0 commit comments