Skip to content

Commit 0825d7e

Browse files
committed
feat: test linux images
1 parent 0ab75a4 commit 0825d7e

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

.github/workflows/test_docker.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ env:
3030
MODULE: core
3131
ANSYS_DPF_ACCEPT_LA: Y
3232
ANSYSLMD_LICENSE_FILE: 1055@${{secrets.LICENSE_SERVER}}
33+
DPF_DOCKER: ghcr.io/ansys-dpf/dpf-standalone:linux-25.1
3334

3435
jobs:
3536
docker_tests:
@@ -79,13 +80,26 @@ jobs:
7980
run: |
8081
pip install dist/${{ steps.wheel.outputs.wheel_name }}[graphics]
8182
82-
- name: "Install DPF"
83-
id: set-server-path
84-
uses: ansys/pydpf-actions/[email protected]
83+
# - name: "Install DPF"
84+
# id: set-server-path
85+
# uses: ansys/pydpf-actions/[email protected]
86+
# with:
87+
# dpf-standalone-TOKEN: ${{secrets.PYANSYS_CI_BOT_TOKEN}}
88+
# standalone_suffix: ${{ inputs.standalone_suffix }}
89+
# ANSYS_VERSION : ${{ inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}
90+
91+
- name: "Login to Github Container Registry"
92+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
8593
with:
86-
dpf-standalone-TOKEN: ${{secrets.PYANSYS_CI_BOT_TOKEN}}
87-
standalone_suffix: ${{ inputs.standalone_suffix }}
88-
ANSYS_VERSION : ${{ inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}
94+
registry: ghcr.io
95+
username: ${{ github.actor }}
96+
password: ${{ secrets.GITHUB_TOKEN }}
97+
98+
- name: Download DPF docker container
99+
env:
100+
IMAGE_NAME: ${{ env.DPF_DOCKER }}
101+
run: |
102+
docker pull $IMAGE_NAME
89103
90104
- name: "Check licences of packages"
91105
uses: ansys/pydpf-actions/[email protected]

0 commit comments

Comments
 (0)