Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/test_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,15 @@ jobs:
command: |
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results9.xml test_service/.

- name: "Test Operators"
uses: nick-fields/retry@v2
with:
timeout_minutes: 3
max_attempts: 2
shell: bash
command: |
pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results12.xml tests/operators/.

# - name: "Test API Entry"
# shell: bash
# working-directory: tests
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,18 @@ jobs:
- name: "Kill all servers"
uses: ansys/pydpf-actions/[email protected]

- name: "Test Operators"
uses: nick-fields/retry@v2
with:
timeout_minutes: 2
max_attempts: 2
shell: bash
command: |
pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results12.xml tests/operators/.

- name: "Kill all servers"
uses: ansys/pydpf-actions/[email protected]

- name: "Upload Test Results"
uses: actions/upload-artifact@v4
with:
Expand Down
5 changes: 5 additions & 0 deletions tests/operators/test_operator_mesh_plan_clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,13 @@

import ansys.dpf.core as dpf
import conftest
import pytest


@pytest.mark.skipif(
not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_5_0,
reason="Mesh clip plan operator not functional before 5.0,",
)
def test_operator_mesh_plan_clip_rst(simple_bar):
model = dpf.Model(simple_bar)
main_mesh = model.metadata.meshed_region
Expand Down