@@ -54,14 +54,27 @@ jobs:
5454
5555 tests :
5656 name : " Tests and coverage"
57- runs-on : ${{ matrix.os }}
57+ runs-on : " ubuntu-latest "
5858 strategy :
5959 matrix :
6060 # We can't test on windows because it is not possible to run linux
6161 # docker images on the windows agents. See the issue
6262 # https://github.com/actions/runner-images/issues/1143
63- os : [ubuntu-latest]
6463 python-version : ['3.10', '3.11', '3.12', '3.13']
64+ container-tag : [ 'latest' ]
65+ include :
66+ - python-version : " 3.13"
67+ container-tag : " 2025r2"
68+ - python-version : " 3.13"
69+ container-tag : " 2025r1"
70+ - python-version : " 3.13"
71+ container-tag : " 2025r2"
72+ - python-version : " 3.13"
73+ container-tag : " 2024r2"
74+ - python-version : " 3.13"
75+ container-tag : " 2024r1"
76+ - python-version : " 3.13"
77+ container-tag : " 2023r2_pre1"
6578 fail-fast : false
6679 steps :
6780 - name : " Login in Github Container registry"
7588 # 2023r2_pre1 is used to test backward compatibility. Also update testenv in tox.ini
7689 # if other containers must be tested.
7790 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
91+ docker pull ghcr.io/ansys/pydpf-composites:${{ matrix.container-tag }}
8492
8593 - name : " Checkout the project"
8694 uses : actions/checkout@v5
@@ -101,6 +109,7 @@ jobs:
101109 tox
102110 env :
103111 LICENSE_SERVER : ${{ secrets.LICENSE_SERVER }}
112+ CONTAINER_TAG : ${{ matrix.container-tag }}
104113
105114 - name : Upload coverage reports to Codecov
106115 uses : codecov/codecov-action@v5
0 commit comments