87
87
strategy :
88
88
fail-fast : false
89
89
matrix :
90
- ansys-release : [24.1.0 , 24.2.0 ]
90
+ ansys-release : [24.1, 24.2]
91
91
container :
92
- image : ' ghcr.io/ansys/mechanical:${{ matrix.ansys-release }}'
92
+ image : ' ghcr.io/ansys/mechanical:${{ matrix.ansys-release }}.0 '
93
93
options : --entrypoint /bin/bash
94
94
steps :
95
95
@@ -109,30 +109,25 @@ jobs:
109
109
110
110
- name : Install dependencies
111
111
run : |
112
+ . /env/bin/activate
112
113
python -m pip install --upgrade pip
113
114
pip install -r geometry-mechanical-dpf/requirements_${{ matrix.ansys-release }}.txt
114
115
115
- - name : Login to GitHub Container Registry
116
- uses : docker/login-action@v3
117
- with :
118
- registry : ghcr.io
119
- username : ${{ github.actor }}
120
- password : ${{ secrets.GITHUB_TOKEN }}
121
-
122
- - name : Download PRIME service container
123
- run : docker pull ${{ env.PRIME_DOCKER_IMAGE }}:${{ matrix.ansys-release }}
124
-
125
116
- name : Check out the geometry outputs
126
117
uses : actions/download-artifact@v4
127
118
with :
128
119
name : geometry-outputs-${{ matrix.ansys-release }}
129
120
path : geometry-mechanical-dpf/outputs
130
121
131
- - name : Run the PyPrimeMesh script
122
+ - name : Run the PyPyMechanical script
132
123
env :
133
- PYPRIMEMESH_IMAGE_TAG : ${{ matrix.ansys-release }}
124
+ NUM_CORES : 1
125
+ LICENSE_SERVER : ${{ secrets.LICENSE_SERVER }}
126
+ ANSYS_WORKBENCH_LOGGING_CONSOLE : 0
127
+ ANSYS_WORKBENCH_LOGGING : 0
128
+ ANSYS_WORKBENCH_LOGGING_FILTER_LEVEL : 2
134
129
run : |
135
- python geometry-mechanical-dpf/02_mesh .py
130
+ xvfb-run mechanical-env python geometry-mechanical-dpf/02_mechanical .py
136
131
137
132
- name : Store the outputs
138
133
uses : actions/upload-artifact@v4
0 commit comments