-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix retro-compatibility with 222 and 221 (#339)
* Fix ANSYS_VERSION in retro tests in ci.yml and ci_release.yml * Properly remove all scoping_merge workflows from _get_result * Add retro-compatible code for MeshIndex._evaluate_values() * Add retro-compatible code for MeshIndex._evaluate_values() - reduce required server version to 5 * Add retro-compatible code for MeshIndex._evaluate_values() - make server coherent * Skip ENF result tests if DPF<5.0 * Force protobuf<4.0 for 221 * Force protobuf<4.0 for 221
- Loading branch information
Showing
9 changed files
with
69 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,7 +145,7 @@ jobs: | |
uses: pyansys/pydpf-actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
ANSYS_VERSION: ${{env.ANSYS_VERSION}} | ||
ANSYS_VERSION: ${{matrix.ANSYS_VERSION}} | ||
PACKAGE_NAME: ${{env.PACKAGE_NAME}} | ||
MODULE: ${{env.MODULE}} | ||
dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}} | ||
|
@@ -157,6 +157,8 @@ jobs: | |
shell: bash | ||
run: | | ||
pip install ansys-grpc-dpf==0.4.0 | ||
pip uninstall -y protobuf | ||
pip install "protobuf<4.0" | ||
if: matrix.ANSYS_VERSION == '221' | ||
|
||
- name: "Prepare Testing Environment" | ||
|
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 |
---|---|---|
|
@@ -141,7 +141,7 @@ jobs: | |
uses: pyansys/pydpf-actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
ANSYS_VERSION: ${{env.ANSYS_VERSION}} | ||
ANSYS_VERSION: ${{matrix.ANSYS_VERSION}} | ||
PACKAGE_NAME: ${{env.PACKAGE_NAME}} | ||
MODULE: ${{env.MODULE}} | ||
dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}} | ||
|
@@ -153,6 +153,8 @@ jobs: | |
shell: bash | ||
run: | | ||
pip install ansys-grpc-dpf==0.4.0 | ||
pip uninstall -y protobuf | ||
pip install "protobuf<4.0" | ||
if: matrix.ANSYS_VERSION == '221' | ||
|
||
- name: "Prepare Testing Environment" | ||
|
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
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