File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -106,10 +106,16 @@ jobs:
106
106
username : ${{ github.actor }}
107
107
password : ${{ secrets.GITHUB_TOKEN }}
108
108
109
- - name : " Install and run DPF server"
109
+ - name : Set Licensing
110
+ shell : bash
110
111
run : |
111
- docker pull ghcr.io/ansys/dpf-core:22.2dev
112
- docker run -d --name dpfserver -p 50054:50052 ghcr.io/ansys/dpf-core:22.2dev && echo "DPF Server active on port 50054."
112
+ echo "ANSYS_DPF_ACCEPT_LA=Y" >> $GITHUB_ENV
113
+
114
+ - name : Install DPF
115
+ uses :
ansys/pydpf-actions/[email protected]
116
+ with :
117
+ dpf-standalone-TOKEN : ${{secrets.PYANSYS_CI_BOT_TOKEN}}
118
+ ANSYS_VERSION : " 242"
113
119
114
120
- name : LS-DYNA Keyword server activation
115
121
run : |
@@ -166,12 +172,6 @@ jobs:
166
172
name : server_output_docs.txt
167
173
path : server_output.txt
168
174
169
- - name : DPF Logs (on screen)
170
- if : always()
171
- run : |
172
- docker logs dpfserver
173
- docker stop dpfserver
174
-
175
175
smoke-tests :
176
176
name : " Build wheelhouse for ${{ matrix.os }} and Python ${{ matrix.python-version }}"
177
177
runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change 10
10
# ~~~~~~~~~~~~~~~~~~~~~~~~
11
11
# Import required imports.
12
12
#
13
- from ansys .dpf import core as dpf
13
+ # from ansys.dpf import core as dpf
14
14
15
15
###############################################################################
16
16
# Connect to DPF Server
17
17
# ~~~~~~~~~~~~~~~~~~~~~
18
18
# Connect to the DPF Server.
19
19
#
20
- dpf .connect_to_server ()
20
+ # dpf.connect_to_server()
21
21
22
22
###############################################################################
23
23
# Load model
You can’t perform that action at this time.
0 commit comments