Skip to content

Commit

Permalink
CHORE: Update to use AEDT 24.2 (#281)
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Lopez <85613111+Samuelopez-ansys@users.noreply.github.com>
  • Loading branch information
SMoraisAnsys and Samuelopez-ansys committed Aug 12, 2024
1 parent ca916e1 commit 7342183
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ jobs:
runs-on: [self-hosted, pyaedt, toolkits, Linux]
needs: [ smoke-tests ]
env:
ANSYSEM_ROOT241: '/ansys_inc/AnsysEM/v241/Linux64'
ANSYSEM_ROOT242: '/ansys_inc/AnsysEM/v242/Linux64'
ANS_NODEPCHECK: '1'
steps:
- uses: actions/checkout@v4
Expand All @@ -242,28 +242,28 @@ jobs:
python -c "import sys; print(sys.executable)"
python -m pip install --upgrade pip
pip install --upgrade build wheel
pip install .[tests]
pip install --no-cache-dir .[tests]
pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org pytest-azurepipelines
- name: Antenna models testing
timeout-minutes: 5
run: |
export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT241 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT241 }}/Delcross:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT242 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT242 }}/Delcross:$LD_LIBRARY_PATH
source .venv_linux/bin/activate
pytest -v -m antenna_models_common_api
pytest -v -m antenna_models_api
- name: Toolkit API testing
timeout-minutes: 30
run: |
export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT241 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT241 }}/Delcross:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT242 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT242 }}/Delcross:$LD_LIBRARY_PATH
source .venv_linux/bin/activate
pytest -v -m antenna_toolkit_api
- name: Toolkit REST API testing
timeout-minutes: 30
run: |
export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT241 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT241 }}/Delcross:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT242 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT242 }}/Delcross:$LD_LIBRARY_PATH
source .venv_linux/bin/activate
pytest -v -m antenna_toolkit_rest_api
Expand Down
2 changes: 1 addition & 1 deletion doc/source/examples/antenna_toolkit_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
# Set AEDT version.

aedt_version = "2024.1"
aedt_version = "2024.2"

# ## Set non-graphical mode
#
Expand Down
2 changes: 1 addition & 1 deletion doc/source/examples/create_antenna_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
# Set AEDT version.

aedt_version = "2024.1"
aedt_version = "2024.2"

# ## Set non-graphical mode
#
Expand Down
4 changes: 2 additions & 2 deletions tests/backend/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
The default configuration can be changed by placing a file called local_config.json in the same
directory as this module. An example of the contents of local_config.json
{
"desktop_version": "2024.1",
"desktop_version": "2024.2",
"non_graphical": false,
"use_grpc": true
}
Expand All @@ -49,7 +49,7 @@
import pytest

DEFAULT_CONFIG = {
"desktop_version": "2024.1",
"desktop_version": "2024.2",
"non_graphical": True,
"use_grpc": True,
"debug": False
Expand Down
2 changes: 1 addition & 1 deletion tests/backend/test_antenna_models_api/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
An example of the contents of local_config.json:
{
"desktop_version": "2024.1",
"desktop_version": "2024.2",
"non_graphical": false,
"use_grpc": true
}
Expand Down
2 changes: 1 addition & 1 deletion tests/backend/tests_toolkit_api/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
An example of the contents of local_config.json:
{
"desktop_version": "2024.1",
"desktop_version": "2024.2",
"non_graphical": false,
"use_grpc": true
}
Expand Down
2 changes: 1 addition & 1 deletion tests/backend/tests_toolkit_rest_api/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
An example of the contents of local_config.json:
{
"desktop_version": "2024.1",
"desktop_version": "2024.2",
"non_graphical": false,
"use_grpc": true
}
Expand Down

0 comments on commit 7342183

Please sign in to comment.