6262 # https://github.com/actions/runner-images/issues/1143
6363 os : [ubuntu-latest]
6464 python-version : ['3.10', '3.11', '3.12', '3.13']
65+ container-tag : [ 'latest' ]
66+ include :
67+ - python-version : " 3.13"
68+ container-tag : " 2025r2"
69+ - python-version : " 3.13"
70+ container-tag : " 2025r1"
71+ - python-version : " 3.13"
72+ container-tag : " 2025r2"
73+ - python-version : " 3.13"
74+ container-tag : " 2024r2"
75+ - python-version : " 3.13"
76+ container-tag : " 2024r1"
77+ - python-version : " 3.13"
78+ container-tag : " 2023r2_pre1"
6579 fail-fast : false
6680 steps :
6781 - name : " Login in Github Container registry"
7589 # 2023r2_pre1 is used to test backward compatibility. Also update testenv in tox.ini
7690 # if other containers must be tested.
7791 run : |
78- docker pull ghcr.io/ansys/pydpf-composites:${{ env.CONTAINER_TAG }}
79- docker pull ghcr.io/ansys/pydpf-composites:2025r2
80- docker pull ghcr.io/ansys/pydpf-composites:2025r1
81- docker pull ghcr.io/ansys/pydpf-composites:2024r2
82- docker pull ghcr.io/ansys/pydpf-composites:2024r1
83- docker pull ghcr.io/ansys/pydpf-composites:2023r2_pre1
92+ docker pull ghcr.io/ansys/pydpf-composites:${{ matrix.container-tag }}
8493
8594 - name : " Checkout the project"
8695 uses : actions/checkout@v5
@@ -101,6 +110,7 @@ jobs:
101110 tox
102111 env :
103112 LICENSE_SERVER : ${{ secrets.LICENSE_SERVER }}
113+ CONTAINER_TAG : ${{ matrix.container-tag }}
104114
105115 - name : Upload coverage reports to Codecov
106116 uses : codecov/codecov-action@v5
0 commit comments