3535 ON_CI : True
3636 PYTEST_ARGUMENTS : ' -vvv -rxXsa --color=yes --durations=10 --random-order --random-order-bucket=class --maxfail=10 --reruns 3 --reruns-delay 4 --cov=ansys.mapdl.core --cov-report=html --timeout=180'
3737
38-
3938 BUILD_CHEATSHEET : True
4039 PYMAPDL_DEBUG_TESTING : True
4140
6766 update-changelog :
6867 name : " Update CHANGELOG (on release)"
6968 if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
70- runs-on : ubuntu-latest
69+ runs-on : ubuntu-22.04
7170 permissions :
7271 contents : write
7372 pull-requests : write
8281 pull-request-name :
8382 if : github.event_name == 'pull_request'
8483 name : Check the name of the pull-request
85- runs-on : ubuntu-latest
84+ runs-on : ubuntu-22.04
8685 steps :
8786 - name : Check pull-request name
8887 uses : ansys/actions/check-pr-title@v8
9291
9392 doc-style :
9493 name : " Documentation style ${{ matrix.folder }}"
95- runs-on : ubuntu-latest
94+ runs-on : ubuntu-22.04
9695 strategy :
9796 matrix :
9897 folder : ["doc", "examples"]
@@ -142,7 +141,7 @@ jobs:
142141
143142 check-vulnerabilities :
144143 name : " Check library vulnerabilities"
145- runs-on : ubuntu-latest
144+ runs-on : ubuntu-22.04
146145 steps :
147146 - uses : ansys/actions/check-vulnerabilities@v8
148147 with :
@@ -156,7 +155,7 @@ jobs:
156155
157156 docs-build :
158157 name : " Build documentation"
159- runs-on : ubuntu-latest
158+ runs-on : ubuntu-22.04
160159 needs : doc-style
161160 timeout-minutes : 60
162161 outputs :
@@ -359,7 +358,7 @@ jobs:
359358
360359 build-test-remote-matrix :
361360 name : " Build remote test matrix"
362- runs-on : ubuntu-latest
361+ runs-on : ubuntu-22.04
363362 if : github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
364363 outputs :
365364 matrix : ${{ steps.set-matrix.outputs.matrix }}
@@ -396,11 +395,12 @@ jobs:
396395 env :
397396 extended_testing : ${{ github.event_name == 'schedule' || ( github.event_name == 'workflow_dispatch' && inputs.run_all_tests ) || ( github.event_name == 'push' && contains(github.ref, 'refs/tags') ) }}
398397 auth_user : ${{ steps.is_organization_member.outputs.isTeamMember == 'true' || github.actor == 'dependabot[bot]' }}
398+ ON_REMOTE : true
399399 run : .ci/build_matrix.sh
400400
401401 build-test-remote :
402402 name : " Remote: ${{ matrix.mapdl-version }}"
403- runs-on : ubuntu-latest
403+ runs-on : ubuntu-22.04
404404 needs : [smoke-tests, build-test-remote-matrix]
405405 timeout-minutes : 35
406406 strategy :
@@ -599,7 +599,7 @@ jobs:
599599
600600 build-test-local-minimal-matrix :
601601 name : " Build test matrix for minimal and local"
602- runs-on : ubuntu-latest
602+ runs-on : ubuntu-22.04
603603 if : github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
604604 outputs :
605605 matrix : ${{ steps.set-matrix.outputs.matrix }}
@@ -630,7 +630,7 @@ jobs:
630630
631631 build-test-ubuntu-local :
632632 name : " Local: ${{ matrix.mapdl-version }}"
633- runs-on : ubuntu-latest
633+ runs-on : ubuntu-22.04
634634 if : github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
635635 needs : [smoke-tests, build-test-local-minimal-matrix]
636636 timeout-minutes : 75
@@ -785,13 +785,14 @@ jobs:
785785
786786 build-test-ubuntu-minimal :
787787 name : " Local-min: ${{ matrix.mapdl-version }}"
788- runs-on : ubuntu-latest
788+ runs-on : ubuntu-22.04
789789 if : github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
790- needs : [smoke-tests , build-test-local-minimal-matrix ]
790+ needs : [build-test-ubuntu-local , build-test-remote ]
791791 timeout-minutes : 75
792792 strategy :
793793 fail-fast : false
794- matrix : ${{fromJson(needs.build-test-local-minimal-matrix.outputs.matrix)}}
794+ matrix :
795+ mapdl-version : ['latest-ubuntu', 'v25.1-ubuntu']
795796 container :
796797 image : ghcr.io/ansys/mapdl:${{ matrix.mapdl-version }}
797798 options : -u=0:0 --oom-kill-disable --memory=6656MB --memory-swap=16896MB --shm-size=1gb --entrypoint /bin/bash
@@ -913,13 +914,14 @@ jobs:
913914
914915 build-test-ubuntu-console :
915916 name : " Local-min-console: ${{ matrix.mapdl-version }}"
916- runs-on : ubuntu-latest
917+ runs-on : ubuntu-22.04
917918 if : github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
918- needs : [smoke-tests , build-test-local-minimal-matrix ]
919+ needs : [build-test-ubuntu-local , build-test-remote ]
919920 timeout-minutes : 75
920921 strategy :
921922 fail-fast : false
922- matrix : ${{fromJson(needs.build-test-local-minimal-matrix.outputs.matrix)}}
923+ matrix :
924+ mapdl-version : ['latest-ubuntu', 'v25.1-ubuntu']
923925 container :
924926 image : ghcr.io/ansys/mapdl:${{ matrix.mapdl-version }}
925927 options : -u=0:0 --oom-kill-disable --memory=6656MB --memory-swap=16896MB --shm-size=1gb --entrypoint /bin/bash
@@ -1115,7 +1117,7 @@ jobs:
11151117 package :
11161118 name : " Package library"
11171119 needs : [build-test-remote, build-test-ubuntu-local, build-test-ubuntu-minimal, docs-build]
1118- runs-on : ubuntu-latest
1120+ runs-on : ubuntu-22.04
11191121 steps :
11201122 - name : " Build library source and wheel artifacts"
11211123 uses : ansys/actions/build-library@v8
@@ -1128,7 +1130,7 @@ jobs:
11281130 name : " Release project"
11291131 if : ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}
11301132 needs : [package, update-changelog]
1131- runs-on : ubuntu-latest
1133+ runs-on : ubuntu-22.04
11321134 # Specifying a GitHub environment is optional, but strongly encouraged
11331135 environment : release
11341136 permissions :
@@ -1154,7 +1156,7 @@ jobs:
11541156 upload-docs-release :
11551157 name : " Upload release documentation"
11561158 if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
1157- runs-on : ubuntu-latest
1159+ runs-on : ubuntu-22.04
11581160 needs : [release]
11591161 steps :
11601162 - name : " Deploy the stable documentation"
@@ -1170,7 +1172,7 @@ jobs:
11701172 upload-dev-docs :
11711173 name : " Upload dev documentation"
11721174 if : github.ref == 'refs/heads/main' && !contains(github.ref, 'refs/tags')
1173- runs-on : ubuntu-latest
1175+ runs-on : ubuntu-22.04
11741176 needs : [docs-build]
11751177 steps :
11761178 - name : " Deploy the latest documentation"
@@ -1186,7 +1188,7 @@ jobs:
11861188 name : " Notify failed build"
11871189 needs : [smoke-tests, docs-build, build-test-remote, build-test-ubuntu-local, build-test-ubuntu-minimal]
11881190 if : failure() && github.event_name == 'schedule'
1189- runs-on : ubuntu-latest
1191+ runs-on : ubuntu-22.04
11901192 steps :
11911193 - name : " Open issue"
11921194 uses : jayqi/failed-build-issue-action@v1
0 commit comments