Skip to content

Commit

Permalink
Update CI for 251 fluent image. (#301)
Browse files Browse the repository at this point in the history
* Update CI for 251 fluent image.

* Fix docker issue.

* Update Makefile.

* Update PyFluent version to 0.21.dev1
  • Loading branch information
prmukherj authored May 30, 2024
1 parent 4d89b1c commit 458c367
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:
version: 241
- image-tag: v24.2.0
version: 242
- image-tag: v25.1.0
version: 251

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -111,6 +113,8 @@ jobs:
version: 241
- image-tag: v24.2.0
version: 242
- image-tag: v25.1.0
version: 251

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -145,7 +149,7 @@ jobs:
needs: [docs-style]
runs-on: [self-hosted, pyfluent]
env:
DOC_DEPLOYMENT_IMAGE_TAG: v24.1.0
DOC_DEPLOYMENT_IMAGE_TAG: v24.2.0
DOCUMENTATION_CNAME: 'parametric.fluent.docs.pyansys.com'
steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/nightly-doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:

env:
DOCUMENTATION_CNAME: 'parametric.fluent.docs.pyansys.com'
DOC_DEPLOYMENT_IMAGE_TAG: v24.1.0
MAIN_PYTHON_VERSION: '3.9'
DOC_DEPLOYMENT_IMAGE_TAG: v24.2.0
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}
PYFLUENT_TIMEOUT_FORCE_EXIT: 5
PYFLUENT_LAUNCH_CONTAINER: 1
Expand All @@ -22,7 +23,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: ${{ env.MAIN_PYTHON_VERSION }}

- name: Install pyfluent-parametric
run: make install
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/nightly-test-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
version: 241
- image-tag: v24.2.0
version: 242
- image-tag: v25.1.0
version: 251

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -78,6 +80,8 @@ jobs:
version: 241
- image-tag: v24.2.0
version: 242
- image-tag: v25.1.0
version: 251

steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ unittest-242:
@pip install -r requirements/requirements_tests.txt
@pytest --fluent-version=24.2

unittest-251:
@sudo rm -rf /home/ansys/.local/share/ansys_fluent_core/examples/*
@pip install -r requirements/requirements_tests.txt
@pytest --fluent-version=25.1

unittest-self-hosted-222:
@sudo rm -rf /home/ansys/.local/share/ansys_fluent_core/examples/*
@pip install -r requirements/requirements_tests.txt
Expand All @@ -66,6 +71,11 @@ unittest-self-hosted-242:
@pip install -r requirements/requirements_tests.txt
@pytest --fluent-version=24.2 --self-hosted

unittest-self-hosted-251:
@sudo rm -rf /home/ansys/.local/share/ansys_fluent_core/examples/*
@pip install -r requirements/requirements_tests.txt
@pytest --fluent-version=25.1 --self-hosted

build-doc:
@sudo rm -rf /home/ansys/.local/share/ansys_fluent_core/examples/*
@pip install -r requirements/requirements_doc.txt
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ packages = [
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
importlib-metadata = {version = "^4.0", python = "<3.9"}
ansys-fluent-core = "~=0.21.dev0"
ansys-fluent-core = "~=0.21.dev1"
h5py = ">=3.7.0"
requests = "==2.31.0"

[tool.poetry.urls]
"Documentation" = "https://parametric.fluent.docs.pyansys.com/"
Expand Down

0 comments on commit 458c367

Please sign in to comment.