Skip to content
Open
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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
os: ["windows-latest", "ubuntu-22.04"]
os: ["windows-latest", "ubuntu-latest"]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.10"]
os: ["windows-latest", "ubuntu-22.04"]
os: ["windows-latest", "ubuntu-latest"]
ANSYS_VERSION:
- ${{ fromJson(vars.ANSYS_VERSIONS_RETRO) }}
- ${{ fromJson(vars.ANSYS_VERSION_LAST_RELEASED) }}
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
standalone_suffix: ${{ matrix.ANSYS_VERSION == '241' && '.sp01' || '' }}

- name: "Prepare Testing Environment"
uses: ansys/pydpf-actions/prepare_tests@dependencies/bump_pyvista_setup-headless-display-action_to_v4
uses: ansys/pydpf-actions/prepare_tests@v2.3
with:
DEBUG: true

Expand Down Expand Up @@ -278,4 +278,4 @@ jobs:
run: |
git checkout master
git reset --hard main
git push
git push
6 changes: 3 additions & 3 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
os: ["windows-latest", "ubuntu-22.04"]
os: ["windows-latest", "ubuntu-latest"]

steps:
- uses: actions/checkout@v4
Expand All @@ -93,7 +93,7 @@ jobs:
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}

- name: "Prepare Testing Environment"
uses: ansys/pydpf-actions/prepare_tests@dependencies/bump_pyvista_setup-headless-display-action_to_v4
uses: ansys/pydpf-actions/prepare_tests@v2.3
with:
DEBUG: true

Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.10"]
os: ["windows-latest", "ubuntu-22.04"]
os: ["windows-latest", "ubuntu-latest"]
ANSYS_VERSION: ${{ fromJson(vars.ANSYS_VERSIONS_RETRO) }}

steps:
Expand Down
4 changes: 2 additions & 2 deletions requirements/requirements_docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ sphinx-copybutton==0.5.0
sphinx-gallery==0.19.0
ansys_sphinx_theme==1.4.1
sphinx-autodoc-typehints==3.0.1
pyvista==0.46.0
vtk==9.4.2
pyvista==0.46.3
vtk==9.5.1
sphinx-design===0.6.1
4 changes: 2 additions & 2 deletions requirements/requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ coverage==7.10.2
pytest-cov==6.2.1
pytest-rerunfailures==15.1
pytest==8.4.1
pyvista==0.46.0
vtk==9.4.2
pyvista==0.46.3
vtk==9.5.1
7 changes: 6 additions & 1 deletion tests/test_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import numpy as np
import pytest
from pytest import fixture
from sys import platform

from ansys.dpf import post
from ansys.dpf.post import examples
Expand All @@ -38,7 +39,7 @@
from ansys.dpf.post.modal_mechanical_simulation import ModalMechanicalSimulation
from ansys.dpf.post.static_mechanical_simulation import StaticMechanicalSimulation
from ansys.dpf.post.transient_mechanical_simulation import TransientMechanicalSimulation
from conftest import SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0
from conftest import SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0, SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_10_0


@fixture
Expand Down Expand Up @@ -147,6 +148,10 @@ def test_dataframe_select_no_set_index():
assert len(df2.mesh_index.values) == len(df.mesh_index.values)


@pytest.mark.skipif(
not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_10_0 and platform == "linux",
reason="Flprj broken in Linux for 251, 242 and 241.",
)
@pytest.mark.skipif(
not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0,
reason="Fluid capabilities added with ansys-dpf-server 2024.1.pre0.",
Expand Down
Loading