From 0156906c58aeeac6b050b14eff1279f9fe030ad4 Mon Sep 17 00:00:00 2001 From: cbellot Date: Fri, 17 Mar 2023 13:48:26 +0100 Subject: [PATCH 01/12] fix unit tests for 2023.2.pre1 server --- tests/test_service.py | 43 ++++++++++++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/tests/test_service.py b/tests/test_service.py index 7c25d8d4590..5b3819a419f 100644 --- a/tests/test_service.py +++ b/tests/test_service.py @@ -568,26 +568,43 @@ def test_apply_context(set_context_back_to_premium): def test_apply_context_remote(remote_config_server_type, set_context_back_to_premium): dpf.core.server.shutdown_all_session_servers() dpf.core.SERVER_CONFIGURATION = remote_config_server_type + field = dpf.core.Field() + field.append([0.0], 1) if conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_6_0: - with pytest.raises(dpf.core.errors.DPFServerException): - dpf.core.Operator("core::field::high_pass") - with pytest.raises(dpf.core.errors.DPFServerException): - if dpf.core.SERVER.os == "nt": - dpf.core.load_library("Ans.Dpf.Math.dll", "math_operators") - else: - dpf.core.load_library("libAns.Dpf.Math.so", "math_operators") - - assert dpf.core.SERVER.context == dpf.core.AvailableServerContexts.entry + if conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_6_1: + with pytest.raises(dpf.core.errors.DPFServerException): + op = dpf.core.Operator("core::field::high_pass") + op.connect(0, field) + op.connect(1, 0.0) + op.eval() + else: + with pytest.raises(dpf.core.errors.DPFServerException): + op = dpf.core.Operator("core::field::high_pass") + with pytest.raises(dpf.core.errors.DPFServerException): + if dpf.core.SERVER.os == "nt": + dpf.core.load_library("Ans.Dpf.Math.dll", "math_operators") + else: + dpf.core.load_library("libAns.Dpf.Math.so", "math_operators") + assert dpf.core.SERVER.context == dpf.core.AvailableServerContexts.entry else: dpf.core.start_local_server() dpf.core.SERVER.apply_context(dpf.core.AvailableServerContexts.premium) - dpf.core.Operator("core::field::high_pass") + op = dpf.core.Operator("core::field::high_pass") + op.connect(0, field) + op.connect(1, 0.0) + op.eval() assert dpf.core.SERVER.context == dpf.core.AvailableServerContexts.premium - dpf.core.server.shutdown_all_session_servers() - with pytest.raises(dpf.core.errors.DPFServerException): - dpf.core.Operator("core::field::high_pass") + if conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_6_1: + with pytest.raises(dpf.core.errors.DPFServerException): + op = dpf.core.Operator("core::field::high_pass") + op.connect(0, field) + op.connect(1, 0.0) + op.eval() + elif conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_6_0: + with pytest.raises(dpf.core.errors.DPFServerException): + op = dpf.core.Operator("core::field::high_pass") dpf.core.set_default_server_context(dpf.core.AvailableServerContexts.premium) dpf.core.Operator("core::field::high_pass") with pytest.raises(dpf.core.errors.DPFServerException): From f6b5cf39f6d070791a9a46c70fddd68dc5930e3d Mon Sep 17 00:00:00 2001 From: cbellot Date: Mon, 20 Mar 2023 12:17:25 +0100 Subject: [PATCH 02/12] add license context manager --- src/ansys/dpf/core/__init__.py | 6 +- src/ansys/dpf/core/runtime_config.py | 15 ++++ src/ansys/dpf/core/server_context.py | 107 +++++++++++++++++++++++++++ tests/test_data_tree.py | 6 ++ tests/test_service.py | 35 +++++++++ 5 files changed, 168 insertions(+), 1 deletion(-) diff --git a/src/ansys/dpf/core/__init__.py b/src/ansys/dpf/core/__init__.py index 1ce2f5a48a3..d4614829194 100644 --- a/src/ansys/dpf/core/__init__.py +++ b/src/ansys/dpf/core/__init__.py @@ -81,7 +81,11 @@ from ansys.dpf.core import path_utilities from ansys.dpf.core import settings from ansys.dpf.core.server_factory import ServerConfig, AvailableServerConfigs -from ansys.dpf.core.server_context import set_default_server_context, AvailableServerContexts +from ansys.dpf.core.server_context import ( + set_default_server_context, + AvailableServerContexts, + LicenseContextManager +) from ansys.dpf.core.unit_system import UnitSystem, unit_systems # for matplotlib diff --git a/src/ansys/dpf/core/runtime_config.py b/src/ansys/dpf/core/runtime_config.py index fe8480eeae1..ba08ba3fda6 100644 --- a/src/ansys/dpf/core/runtime_config.py +++ b/src/ansys/dpf/core/runtime_config.py @@ -182,3 +182,18 @@ def num_threads(self): @num_threads.setter def num_threads(self, value): self._data_tree.add(num_threads=int(value)) + + @property + def license_timeout_in_seconds(self): + """Sets the default number of threads to use for all operators, + default is omp_get_num_threads. + + Returns + ------- + float + """ + return self._data_tree.get_as("license_timeout_in_seconds", types.double) + + @license_timeout_in_seconds.setter + def license_timeout_in_seconds(self, value): + self._data_tree.add(license_timeout_in_seconds=float(value)) diff --git a/src/ansys/dpf/core/server_context.py b/src/ansys/dpf/core/server_context.py index 7f5f9ce774d..1b561edce54 100644 --- a/src/ansys/dpf/core/server_context.py +++ b/src/ansys/dpf/core/server_context.py @@ -12,6 +12,8 @@ import os import warnings from enum import Enum +from ansys.dpf.core import dpf_operator +from ansys.dpf.core import errors class LicensingContextType(Enum): @@ -38,6 +40,111 @@ def same_licensing_context(first, second): return True +class LicenseContextManager: + """Can be optionally used to pre checkout a licence before using licensed DPF Operators. + Improves performances if many Operators requiring licensing are used afterwards. + It can also be used to force checkout before running a script when few + ANSYS license increments are available. + Check in the license when the object is deleted. + + Parameters + ---------- + increment_name: str, optional + License increment to check out. To improve a script efficiency, this license increment + should be consistent with the increments required by the following Operators. If ``None``, + the first available increment of this + `list `_ + is checked out. + license_timeout_in_seconds: float, optional + If no increment is available until then, check out fails. Defaults is: + :py:func:`ansys.dpf.core.runtime_config.RuntimeCoreConfig.license_timeout_in_seconds` + server : server.DPFServer, optional + Server with the channel connected to the remote or local instance. The + default is ``None``, in which case an attempt is made to use the global + server. + + Examples + -------- + Using a context manager + >>> from ansys.dpf import core as dpf + >>> dpf.set_default_server_context(dpf.AvailableServerContexts.premium) + >>> field = dpf.Field() + >>> field.append([0., 0., 0.], 1) + >>> op = dpf.operators.filter.field_high_pass() + >>> op.inputs.field(field) + >>> op.inputs.threshold(0.0) + >>> with dpf.LicenseContextManager() as lic: + ... out = op.outputs.field() + + Using an instance + >>> lic = dpf.LicenseContextManager() + >>> op.inputs.field(field) + >>> op.inputs.threshold(0.0) + >>> out = op.outputs.field() + >>> lic = None + + Using a context manager and choosing license options + >>> op.inputs.field(field) + >>> op.inputs.threshold(0.0) + >>> out = op.outputs.field() + >>> op = dpf.operators.filter.field_high_pass() + >>> op.inputs.field(field) + >>> op.inputs.threshold(0.0) + >>> with dpf.LicenseContextManager( + ... increment_name="preppost", license_timeout_in_seconds=1.) + ... as lic: + ... out = op.outputs.field() + + Notes + ----- + Available from 6.1 server version. + """ + + def __init__( + self, increment_name: str = None, license_timeout_in_seconds: float = None, server=None + ): + from ansys.dpf.core import server as server_module + + self._server = server_module.get_or_create_server(server) + if not self._server.meet_version("6.1"): + raise errors.DpfVersionNotSupported("5.0") + self._license_checkout_operator = dpf_operator.Operator( + "license_checkout", server=self._server + ) + if increment_name is not None: + self._license_checkout_operator.connect(0, increment_name) + if license_timeout_in_seconds is not None: + self._license_checkout_operator.connect(1, license_timeout_in_seconds) + self._license_checkout_operator.run() + + def release_data(self): + """Release the data.""" + self._license_checkout_operator = None + + def __enter__(self): + return self + + def __exit__(self, type, value, tb): + if tb is None: + self.release_data() + + def __del__(self): + self.release_data() + pass + + @property + def status(self): + """Returns a string with the list of checked out increments + + Returns + ------- + str + """ + status_operator = dpf_operator.Operator("license_status", server=self._server) + return status_operator.eval() + + class ServerContext: """The context allows to choose which capabilities are available server side. xml_path argument won't be taken into account if using LicensingContextType.entry. diff --git a/tests/test_data_tree.py b/tests/test_data_tree.py index 81a2132e72e..f9bd7b9c7a0 100644 --- a/tests/test_data_tree.py +++ b/tests/test_data_tree.py @@ -298,6 +298,12 @@ def test_runtime_core_config(server_type): assert num_threads == 4 core_config.num_threads = num_threads_init assert core_config.num_threads == num_threads_init + timeout_init = core_config.license_timeout_in_seconds + core_config.license_timeout_in_seconds = 4.0 + license_timeout_in_seconds = core_config.license_timeout_in_seconds + assert license_timeout_in_seconds == 4.0 + core_config.license_timeout_in_seconds = timeout_init + assert core_config.license_timeout_in_seconds == timeout_init @conftest.raises_for_servers_version_under("4.0") diff --git a/tests/test_service.py b/tests/test_service.py index 5b3819a419f..431a4a154a9 100644 --- a/tests/test_service.py +++ b/tests/test_service.py @@ -629,5 +629,40 @@ def test_release_dpf(server_type): dpf.core.Operator("expansion::modal_superposition", server=server_type) +@conftest.raises_for_servers_version_under("6.1") +def test_license_context_manager_as_context(): + field = dpf.core.Field() + field.append([0.0, 0.0, 0.0], 1) + op = dpf.core.operators.filter.field_high_pass() + op.inputs.field(field) + op.inputs.threshold(0.0) + with dpf.core.LicenseContextManager() as lic: + out = op.outputs.field() + st = lic.status + + assert len(st) != 0 + new_st = lic.status + assert new_st == "" + lic = dpf.core.LicenseContextManager() + op.inputs.field(field) + op.inputs.threshold(0.0) + out = op.outputs.field() + new_st = lic.status + assert str(new_st) == str(st) + lic = None + + op = dpf.core.operators.filter.field_high_pass() + op.inputs.field(field) + op.inputs.threshold(0.0) + with dpf.core.LicenseContextManager( + increment_name="ansys", license_timeout_in_seconds=1.0 + ) as lic: + out = op.outputs.field() + st = lic.status + assert "ansys" in st + st = lic.status + assert "ansys" not in st + + if __name__ == "__main__": test_load_api_with_awp_root() From 6e269d418bd24ff05da046e337dbbac52b5f3ab0 Mon Sep 17 00:00:00 2001 From: Camille Bellot <80476446+cbellot000@users.noreply.github.com> Date: Mon, 20 Mar 2023 14:31:27 +0100 Subject: [PATCH 03/12] Apply suggestions from code review Co-authored-by: JennaPaikowsky <98607744+JennaPaikowsky@users.noreply.github.com> --- src/ansys/dpf/core/server_context.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ansys/dpf/core/server_context.py b/src/ansys/dpf/core/server_context.py index 1b561edce54..f113bddc153 100644 --- a/src/ansys/dpf/core/server_context.py +++ b/src/ansys/dpf/core/server_context.py @@ -41,23 +41,23 @@ def same_licensing_context(first, second): class LicenseContextManager: - """Can be optionally used to pre checkout a licence before using licensed DPF Operators. - Improves performances if many Operators requiring licensing are used afterwards. + """Can optionally be used to check out a license before using licensed DPF Operators. + Improves performance if you are using multiple Operators that require licensing. It can also be used to force checkout before running a script when few - ANSYS license increments are available. - Check in the license when the object is deleted. + Ansys license increments are available. + The license is checked in when the the object is deleted. Parameters ---------- increment_name: str, optional - License increment to check out. To improve a script efficiency, this license increment + License increment to check out. To improve script efficiency, this license increment should be consistent with the increments required by the following Operators. If ``None``, the first available increment of this `list `_ is checked out. license_timeout_in_seconds: float, optional - If no increment is available until then, check out fails. Defaults is: + If an increment is not available by the maximum time set here, check out fails. Default is: :py:func:`ansys.dpf.core.runtime_config.RuntimeCoreConfig.license_timeout_in_seconds` server : server.DPFServer, optional Server with the channel connected to the remote or local instance. The @@ -146,7 +146,7 @@ def status(self): class ServerContext: - """The context allows to choose which capabilities are available server side. + """The context allows you to choose which capabilities are available server side. xml_path argument won't be taken into account if using LicensingContextType.entry. Parameters From 8cb439b58085c11158a6cf3a9dd4da05aff08eee Mon Sep 17 00:00:00 2001 From: cbellot Date: Mon, 20 Mar 2023 16:02:25 +0100 Subject: [PATCH 04/12] fixes --- tests/test_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_service.py b/tests/test_service.py index 431a4a154a9..70dc5789d9b 100644 --- a/tests/test_service.py +++ b/tests/test_service.py @@ -489,7 +489,7 @@ def test_context_environment_variable(reset_context_environment_variable): @pytest.mark.order(1) @pytest.mark.skipif( running_docker - or os.environ.get("ANSYS_DPF_ACCEPT_LA", None) is None + or os.environ.get("ANSYS_DPF_ACCEPT_LA", "") is "" or not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_6_0, reason="Tests ANSYS_DPF_ACCEPT_LA", ) @@ -509,7 +509,7 @@ def test_license_agr(set_context_back_to_premium): @pytest.mark.order(2) @pytest.mark.skipif( - os.environ.get("ANSYS_DPF_ACCEPT_LA", None) is None + os.environ.get("ANSYS_DPF_ACCEPT_LA", "") is "" or not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_6_0, reason="Tests ANSYS_DPF_ACCEPT_LA", ) From b1199acc006858b23cd2cf3b86bd71a0ea52d486 Mon Sep 17 00:00:00 2001 From: cbellot Date: Mon, 20 Mar 2023 17:27:28 +0100 Subject: [PATCH 05/12] _test suffix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 438791445df..b80ac2e35f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ on: standalone_branch_suffix: description: 'Suffix of the branch on standalone' required: false - default: '' + default: '_test' concurrency: From d81aadfa2d354d06a77578ffa555c9a1eb4dec85 Mon Sep 17 00:00:00 2001 From: cbellot Date: Mon, 20 Mar 2023 17:29:45 +0100 Subject: [PATCH 06/12] fix version --- src/ansys/dpf/core/server_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/dpf/core/server_context.py b/src/ansys/dpf/core/server_context.py index f113bddc153..9c416654a94 100644 --- a/src/ansys/dpf/core/server_context.py +++ b/src/ansys/dpf/core/server_context.py @@ -108,7 +108,7 @@ def __init__( self._server = server_module.get_or_create_server(server) if not self._server.meet_version("6.1"): - raise errors.DpfVersionNotSupported("5.0") + raise errors.DpfVersionNotSupported("6.1") self._license_checkout_operator = dpf_operator.Operator( "license_checkout", server=self._server ) From 41f9913d4bf0d82bcbeb2ce75502a725aec93861 Mon Sep 17 00:00:00 2001 From: cbellot Date: Mon, 20 Mar 2023 17:33:08 +0100 Subject: [PATCH 07/12] doc string --- src/ansys/dpf/core/server_context.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ansys/dpf/core/server_context.py b/src/ansys/dpf/core/server_context.py index 9c416654a94..2165175787a 100644 --- a/src/ansys/dpf/core/server_context.py +++ b/src/ansys/dpf/core/server_context.py @@ -92,8 +92,7 @@ class LicenseContextManager: >>> op.inputs.field(field) >>> op.inputs.threshold(0.0) >>> with dpf.LicenseContextManager( - ... increment_name="preppost", license_timeout_in_seconds=1.) - ... as lic: + ... increment_name="preppost", license_timeout_in_seconds=1.) as lic: ... out = op.outputs.field() Notes From 4f52bb39681eb2e995a081b561bfac5908cdb5ef Mon Sep 17 00:00:00 2001 From: cbellot Date: Mon, 20 Mar 2023 17:37:00 +0100 Subject: [PATCH 08/12] update dev requirements --- requirements/requirements_dev.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements/requirements_dev.txt b/requirements/requirements_dev.txt index 73e3a4a6839..c472853ea79 100644 --- a/requirements/requirements_dev.txt +++ b/requirements/requirements_dev.txt @@ -1,3 +1,3 @@ -ansys-dpf-gate==0.3.1.dev0 -ansys-dpf-gatebin==0.3.1.dev0 -ansys-grpc-dpf==0.7.1.dev0 +ansys-dpf-gate==0.3.2.dev0 +ansys-dpf-gatebin==0.3.2.dev0 +ansys-grpc-dpf==0.7.2.dev0 From f0d71226c902f9f4583523e92b72e8b04b9b6878 Mon Sep 17 00:00:00 2001 From: cbellot Date: Tue, 21 Mar 2023 08:14:06 +0100 Subject: [PATCH 09/12] test --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7ee49c791a5..f959e29a87e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,7 +28,7 @@ on: description: "Suffix of the branch on standalone" required: false type: string - default: '' + default: '_test' custom-requirements: description: "Path to requirements.txt file to install" required: false From 3fdc70ce738d543a01a2e4c0671ac12700c23472 Mon Sep 17 00:00:00 2001 From: cbellot Date: Tue, 21 Mar 2023 08:19:34 +0100 Subject: [PATCH 10/12] fix --- .github/workflows/ci.yml | 6 +++--- .github/workflows/tests.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b80ac2e35f2..9d319516637 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,7 +58,7 @@ jobs: python_versions: '["3.8"]' wheel: true wheelhouse: false - standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }} + standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '_test' }} custom-requirements: requirements/requirements_dev.txt custom-wheels: './dpf-standalone/v232/dist' secrets: inherit @@ -67,7 +67,7 @@ jobs: name: "Build and Test on Docker" uses: ./.github/workflows/test_docker.yml with: - standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }} + standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '_test' }} custom-requirements: requirements/requirements_dev.txt custom-wheels: 'dpf-standalone/dist' secrets: inherit @@ -100,7 +100,7 @@ jobs: with: ANSYS_VERSION: "232" python_versions: '["3.8"]' - standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }} + standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '_test' }} custom-requirements: requirements/requirements_dev.txt custom-wheels: './dpf-standalone/v232/dist' secrets: inherit diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f959e29a87e..7ee49c791a5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,7 +28,7 @@ on: description: "Suffix of the branch on standalone" required: false type: string - default: '_test' + default: '' custom-requirements: description: "Path to requirements.txt file to install" required: false From 68666903b1cfed5ed40d715d5e39ca5be14e49a0 Mon Sep 17 00:00:00 2001 From: cbellot Date: Tue, 21 Mar 2023 17:11:21 +0100 Subject: [PATCH 11/12] fix unit test --- .github/workflows/ci.yml | 2 +- tests/test_service.py | 29 ++++++++++++++++++++--------- 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d319516637..aef149dc5d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,7 +77,7 @@ jobs: uses: ./.github/workflows/docs.yml with: ANSYS_VERSION: "232" - standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }} + standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '_test' }} custom-requirements: requirements/requirements_dev.txt custom-wheels: './dpf-standalone/v232/dist' event_name: ${{ github.event_name }} diff --git a/tests/test_service.py b/tests/test_service.py index 70dc5789d9b..705a53672fb 100644 --- a/tests/test_service.py +++ b/tests/test_service.py @@ -537,22 +537,33 @@ def test_apply_context(set_context_back_to_premium): # in process server, otherwise premium operators will already be loaded. dpf.core.server.shutdown_all_session_servers() dpf.core.SERVER_CONFIGURATION = dpf.core.AvailableServerConfigs.InProcessServer - + field = dpf.core.Field() + field.append([0.0], 1) if conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_6_0: - with pytest.raises(KeyError): - dpf.core.Operator("core::field::high_pass") - with pytest.raises(dpf.core.errors.DPFServerException): - if dpf.core.SERVER.os == "nt": - dpf.core.load_library("Ans.Dpf.Math.dll", "math_operators") - else: - dpf.core.load_library("libAns.Dpf.Math.so", "math_operators") + if conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_6_1: + with pytest.raises(dpf.core.errors.DPFServerException): + op = dpf.core.Operator("core::field::high_pass") + op.connect(0, field) + op.connect(1, 0.0) + op.eval() + else: + with pytest.raises(KeyError): + dpf.core.Operator("core::field::high_pass") + with pytest.raises(dpf.core.errors.DPFServerException): + if dpf.core.SERVER.os == "nt": + dpf.core.load_library("Ans.Dpf.Math.dll", "math_operators") + else: + dpf.core.load_library("libAns.Dpf.Math.so", "math_operators") assert dpf.core.SERVER.context == dpf.core.AvailableServerContexts.entry else: dpf.core.start_local_server() dpf.core.set_default_server_context(dpf.core.AvailableServerContexts.premium) assert dpf.core.SERVER.context == dpf.core.AvailableServerContexts.premium - dpf.core.Operator("core::field::high_pass") + op = dpf.core.Operator("core::field::high_pass") + op.connect(0, field) + op.connect(1, 0.0) + op.eval() with pytest.raises(dpf.core.errors.DPFServerException): dpf.core.set_default_server_context(dpf.core.AvailableServerContexts.entry) with pytest.raises(dpf.core.errors.DPFServerException): From 18315e6a6f7f1220cf1e65e6b4f181a0e603ae7d Mon Sep 17 00:00:00 2001 From: cbellot Date: Wed, 22 Mar 2023 14:37:52 +0100 Subject: [PATCH 12/12] test post --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aef149dc5d5..4692a1acdc2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -144,7 +144,7 @@ jobs: uses: ./.github/workflows/pydpf-post.yml with: ANSYS_VERSION: "232" - standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }} + standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '_test' }} custom-requirements: requirements/requirements_dev.txt custom-wheels: './dpf-standalone/v232/dist' secrets: inherit