File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 2020# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121# SOFTWARE.
2222
23- import os
2423from pathlib import Path
2524import platform
2625
3736 PinSpecification ,
3837 SpecificationProperties ,
3938)
39+ from ansys .dpf .core .server_factory import CommunicationProtocols
4040import conftest
4141from conftest import (
4242 SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_4_0 ,
4646
4747if not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_4_0 :
4848 pytest .skip ("Requires server version higher than 4.0" , allow_module_level = True )
49- # if platform.python_version().startswith("3.7"):
50- # pytest.skip(
51- # "Known failures in the GitHub pipelines for 3.7",
52- # allow_module_level=True
53- # )
49+
5450if platform .system () == "Linux" :
5551 pytest .skip ("Known failures for the Ubuntu-latest GitHub pipelines" , allow_module_level = True )
5652
57- update_virtual_environment_for_custom_operators (restore_original = True )
58- update_virtual_environment_for_custom_operators ()
53+ # Updating the dpf-site.zip of a DPF Server is only available when InProcess.
54+ if dpf .SERVER .config .protocol == CommunicationProtocols .InProcess :
55+ update_virtual_environment_for_custom_operators (restore_original = True )
56+ update_virtual_environment_for_custom_operators ()
5957
6058
6159@pytest .fixture (scope = "module" )
You can’t perform that action at this time.
0 commit comments