Skip to content

Commit f6e9b00

Browse files
ci: enabling Linux tests missing (#1152)
Co-authored-by: pyansys-ci-bot <pyansys.github.bot@ansys.com>
1 parent 3874efe commit f6e9b00

File tree

5 files changed

+1
-51
lines changed

5 files changed

+1
-51
lines changed

doc/changelog.d/1152.changed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ci: enabling Linux tests missing

tests/integration/test_design.py

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -974,11 +974,6 @@ def test_slot_extrusion(modeler: Modeler):
974974
def test_project_and_imprint_curves(modeler: Modeler):
975975
"""Test the projection of a set of curves on a body."""
976976

977-
# Skip on Linux
978-
skip_if_linux(
979-
modeler, test_project_and_imprint_curves.__name__, "project_curves, imprint_curves"
980-
)
981-
982977
# Create your design on the server side
983978
design = modeler.create_design("ExtrudeSlot")
984979
comp = design.add_component("Comp1")
@@ -1059,9 +1054,6 @@ def test_project_and_imprint_curves(modeler: Modeler):
10591054
def test_copy_body(modeler: Modeler):
10601055
"""Test copying a body."""
10611056

1062-
# Skip on Linux
1063-
skip_if_linux(modeler, test_copy_body.__name__, "copy")
1064-
10651057
# Create your design on the server side
10661058
design = modeler.create_design("Design")
10671059

@@ -1555,13 +1547,6 @@ def test_boolean_body_operations(modeler: Modeler):
15551547
x) identity
15561548
y) transform
15571549
"""
1558-
# Skip on Linux
1559-
skip_if_linux(
1560-
modeler,
1561-
test_boolean_body_operations.__name__,
1562-
"copy, translate, intersect, subtract, unite",
1563-
)
1564-
15651550
design = modeler.create_design("TestBooleanOperations")
15661551

15671552
comp1 = design.add_component("Comp1")
@@ -1775,13 +1760,6 @@ def test_boolean_body_operations(modeler: Modeler):
17751760
def test_multiple_bodies_boolean_operations(modeler: Modeler):
17761761
"""Test boolean operations with multiple bodies."""
17771762

1778-
# Skip on Linux
1779-
skip_if_linux(
1780-
modeler,
1781-
test_multiple_bodies_boolean_operations.__name__,
1782-
"copy, translate, intersect, subtract, unite",
1783-
)
1784-
17851763
design = modeler.create_design("TestBooleanOperationsMultipleBodies")
17861764

17871765
comp1 = design.add_component("Comp1")
@@ -1983,7 +1961,6 @@ def test_body_scale(modeler: Modeler):
19831961

19841962
def test_body_mapping(modeler: Modeler):
19851963
"""Verify the correct mapping of a body."""
1986-
skip_if_linux(modeler, test_body_mapping.__name__, "map")
19871964
design = modeler.create_design("BodyMap_Test")
19881965

19891966
# non-symmetric shape to allow determination of mirroring
@@ -2206,8 +2183,6 @@ def test_body_mirror(modeler: Modeler):
22062183

22072184
def test_sweep_sketch(modeler: Modeler):
22082185
"""Test revolving a circle profile around a circular axis to make a donut."""
2209-
2210-
skip_if_linux(modeler, test_sweep_sketch.__name__, "sweep_sketch")
22112186
design_sketch = modeler.create_design("donut")
22122187

22132188
path_radius = 5
@@ -2244,8 +2219,6 @@ def test_sweep_sketch(modeler: Modeler):
22442219
def test_sweep_chain(modeler: Modeler):
22452220
"""Test revolving a semi-elliptical profile around a circular axis to make a
22462221
bowl."""
2247-
2248-
skip_if_linux(modeler, test_sweep_chain.__name__, "sweep_chain")
22492222
design_chain = modeler.create_design("bowl")
22502223

22512224
radius = 10

tests/integration/test_material.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,9 @@
2727
from ansys.geometry.core.materials import Material, MaterialProperty, MaterialPropertyType
2828
from ansys.geometry.core.misc import UNITS
2929

30-
from .conftest import skip_if_linux
31-
3230

3331
def test_material_creation(modeler: Modeler):
3432
"""Test the creation of a material on a design."""
35-
36-
# Skip on Linux
37-
skip_if_linux(modeler, test_material_creation.__name__, "material.add_property, add_material")
38-
3933
design = modeler.create_design("my_design")
4034

4135
mat_name = "mat_1"

tests/integration/test_plotter.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@
4545
Triangle,
4646
)
4747

48-
from .conftest import skip_if_linux
49-
5048
skip_no_xserver = pytest.mark.skipif(
5149
not system_supports_plotting(), reason="Requires active X Server"
5250
)
@@ -459,10 +457,6 @@ def test_plot_dummy_gear(verify_image_cache):
459457
@skip_no_xserver
460458
def test_extrude_dummy_gear(modeler: Modeler, verify_image_cache):
461459
"""Test plotting and extrusion of a dummy gear."""
462-
463-
# Skip on Linux
464-
skip_if_linux(modeler, test_extrude_dummy_gear.__name__, "unknown")
465-
466460
# Create a sketch instance
467461
sketch = Sketch()
468462

@@ -506,10 +500,6 @@ def test_plot_spur_gear(verify_image_cache):
506500
@skip_no_xserver
507501
def test_extrude_spur_gear(modeler: Modeler, verify_image_cache):
508502
"""Test plotting and extrusion of a spur gear."""
509-
510-
# Skip on Linux
511-
skip_if_linux(modeler, test_extrude_spur_gear.__name__, "unknown")
512-
513503
# Create a sketch instance
514504
sketch = Sketch()
515505

tests/integration/test_tessellation.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,10 @@
2727
from ansys.geometry.core.misc.units import UNITS, Quantity
2828
from ansys.geometry.core.sketch import Sketch
2929

30-
from .conftest import skip_if_linux
31-
3230

3331
def test_body_tessellate(modeler: Modeler):
3432
"""Test the body tessellation."""
3533

36-
# Skip on Linux
37-
skip_if_linux(modeler, test_body_tessellate.__name__, "tessellate")
38-
3934
sketch_1 = Sketch()
4035
sketch_1.box(Point2D([2, 0], UNITS.m), Quantity(4, UNITS.m), Quantity(4, UNITS.m))
4136
design = modeler.create_design("Design")
@@ -105,9 +100,6 @@ def test_body_tessellate(modeler: Modeler):
105100
def test_component_tessellate(modeler: Modeler):
106101
"""Test the component tessellation."""
107102

108-
# Skip on Linux
109-
skip_if_linux(modeler, test_body_tessellate.__name__, "tessellate")
110-
111103
# Create a sketch
112104
sketch_1 = Sketch()
113105
sketch_1.box(Point2D([10, 10], UNITS.m), Quantity(10, UNITS.m), Quantity(5, UNITS.m))

0 commit comments

Comments
 (0)