Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHORE: Update to use AEDT 24.2 #281

Merged
merged 3 commits into from
Aug 12, 2024
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
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
Loading