@@ -54,14 +54,25 @@ 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 : " 2024r2"
72+ - python-version : " 3.13"
73+ container-tag : " 2024r1"
74+ - python-version : " 3.13"
75+ container-tag : " 2023r2_pre1"
6576 fail-fast : false
6677 steps :
6778 - name : " Login in Github Container registry"
7586 # 2023r2_pre1 is used to test backward compatibility. Also update testenv in tox.ini
7687 # if other containers must be tested.
7788 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
89+ docker pull ghcr.io/ansys/pydpf-composites:${{ matrix.container-tag }}
8490
8591 - name : " Checkout the project"
8692 uses : actions/checkout@v5
@@ -101,6 +107,7 @@ jobs:
101107 tox
102108 env :
103109 LICENSE_SERVER : ${{ secrets.LICENSE_SERVER }}
110+ CONTAINER_TAG : ${{ matrix.container-tag }}
104111
105112 - name : Upload coverage reports to Codecov
106113 uses : codecov/codecov-action@v5
0 commit comments