-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/supporting-slurm-manager
- Loading branch information
Showing
32 changed files
with
497 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ansys-dpf-core==0.10.1 | ||
autopep8==2.0.4 | ||
autopep8==2.1.0 | ||
matplotlib==3.8.3 | ||
scipy==1.12.0 | ||
pandas==2.2.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ansys-dpf-core==0.10.1 | ||
autopep8==2.0.4 | ||
autopep8==2.1.0 | ||
matplotlib==3.8.3 | ||
scipy==1.12.0 | ||
pandas==2.2.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,9 +11,9 @@ concurrency: | |
|
||
env: | ||
ON_CI: True | ||
DOCKER_PACKAGE: ghcr.io/ansys/mapdl | ||
DOCKER_IMAGE_VERSION_DOCS_BUILD: v23.1.0 | ||
MAIN_PYTHON_VERSION: '3.9' | ||
MAPDL_PACKAGE: ghcr.io/ansys/mapdl | ||
MAPDL_IMAGE_VERSION_DOCS_BUILD: v24.1.0 | ||
MAIN_PYTHON_VERSION: '3.10' | ||
PYANSYS_OFF_SCREEN: True | ||
DPF_START_SERVER: False | ||
DPF_PORT: 21002 | ||
|
@@ -31,7 +31,30 @@ jobs: | |
SHELLOPTS: "errexit:pipefail" | ||
steps: | ||
- name: "Install Git and checkout project" | ||
uses: actions/checkout@v4 | ||
uses: actions/[email protected] | ||
|
||
- name: "Login in Github container registry" | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: ${{ secrets.GH_USERNAME }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: "DPF server activation" | ||
run: | | ||
$(docker pull ghcr.io/ansys/dpf-core:22.2dev && docker run -d --name dpfserver -p ${{ env.DPF_PORT }}:50052 ghcr.io/ansys/dpf-core:22.2dev && echo "DPF Server active on port ${{ env.DPF_PORT }}.") & | ||
- name: "Pull, launch, and validate MAPDL service" | ||
id: start_mapdl | ||
env: | ||
LICENSE_SERVER: ${{ secrets.LICENSE_SERVER }} | ||
MAPDL_VERSION: ${{ env.MAPDL_IMAGE_VERSION_DOCS_BUILD }} | ||
DISTRIBUTED_MODE: "dmp" | ||
run: | | ||
export INSTANCE_NAME=MAPDL | ||
.ci/start_mapdl.sh &> mapdl_launch.log & export DOCKER_PID=$! | ||
echo "Launching MAPDL service at PID: $DOCKER_PID" | ||
echo "DOCKER_PID=$(echo $DOCKER_PID)" >> $GITHUB_OUTPUT | ||
- name: "Setup Python" | ||
uses: actions/setup-python@v5 | ||
|
@@ -53,19 +76,6 @@ jobs: | |
pip install . | ||
xvfb-run python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())" | ||
- name: "Login in Github container registry" | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: ${{ secrets.GH_USERNAME }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: "Pull, launch, and validate MAPDL service" | ||
run: .ci/start_mapdl.sh | ||
env: | ||
LICENSE_SERVER: ${{ secrets.LICENSE_SERVER }} | ||
MAPDL_IMAGE: '${{ env.DOCKER_PACKAGE }}:${{ env.DOCKER_IMAGE_VERSION_DOCS_BUILD }}' | ||
|
||
- name: "Retrieve PyMAPDL version" | ||
id: version | ||
run: | | ||
|
@@ -76,10 +86,9 @@ jobs: | |
run: | | ||
pip install .[doc] | ||
- name: "DPF server activation" | ||
- name: "Waiting for the services to be up" | ||
run: | | ||
docker pull ghcr.io/ansys/dpf-core:22.2dev | ||
docker run -d --name dpfserver -p ${{ env.DPF_PORT }}:50052 ghcr.io/ansys/dpf-core:22.2dev && echo "DPF Server active on port ${{ env.DPF_PORT }}." | ||
.ci/waiting_services.sh | ||
- name: LinkCheck | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ Local MAPDL pool | |
.. autosummary:: | ||
:toctree: _autosummary | ||
|
||
pool.LocalMapdlPool | ||
pool.MapdlPool |
Oops, something went wrong.