File tree 1 file changed +12
-5
lines changed 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -87,18 +87,25 @@ jobs:
87
87
strategy :
88
88
fail-fast : false
89
89
matrix :
90
- ansys-release : [24.1.0, 24.2]
90
+ ansys-release : [24.1.0, 24.2.0]
91
+ container :
92
+ image : ' ghcr.io/ansys/mechanical:${{ matrix.ansys-release }}'
93
+ options : --entrypoint /bin/bash
91
94
steps :
92
95
93
96
- name : Checkout code
94
97
uses : actions/checkout@v4
95
98
with :
96
99
sparse-checkout : ' geometry-mechanical-dpf'
97
100
98
- - name : Set up Python ${{ env.MAIN_PYTHON_VERSION }}
99
- uses : actions/setup-python@v5
100
- with :
101
- python-version : ${{ env.MAIN_PYTHON_VERSION }}
101
+ - name : Set up Python
102
+ run : |
103
+ apt update
104
+ apt install --reinstall ca-certificates
105
+ apt install software-properties-common -y
106
+ add-apt-repository ppa:deadsnakes/ppa -y
107
+ apt install -y python${{ env.MAIN_PYTHON_VERSION }} python${{ env.MAIN_PYTHON_VERSION }}-venv
108
+ python${{ env.MAIN_PYTHON_VERSION }} -m venv /env
102
109
103
110
- name : Install dependencies
104
111
run : |
You can’t perform that action at this time.
0 commit comments