99 - main
1010
1111env :
12- MAIN_PYTHON_VERSION : ' 3.12 '
12+ MAIN_PYTHON_VERSION : ' 3.13 '
1313 PACKAGE_NAME : ' ansys-geometry-core'
1414 DOCUMENTATION_CNAME : ' geometry.docs.pyansys.com'
1515 ANSRV_GEO_IMAGE : ' ghcr.io/ansys/geometry'
3535 contents : write
3636 pull-requests : write
3737 steps :
38- - uses : ansys/actions/doc-deploy-changelog@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
38+ - uses : ansys/actions/doc-deploy-changelog@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
3939 with :
4040 token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
4141 bot-user : ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
4545 name : Vulnerabilities
4646 runs-on : ubuntu-latest
4747 steps :
48- - uses : ansys/actions/check-vulnerabilities@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
48+ - uses : ansys/actions/check-vulnerabilities@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
4949 with :
5050 python-version : ${{ env.MAIN_PYTHON_VERSION }}
5151 python-package-name : ${{ env.PACKAGE_NAME }}
5858 runs-on : ubuntu-latest
5959 steps :
6060 - name : Check commit name
61- uses : ansys/actions/check-pr-title@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
61+ uses : ansys/actions/check-pr-title@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
6262 with :
6363 token : ${{ secrets.GITHUB_TOKEN }}
6464
6767 runs-on : ubuntu-latest
6868 steps :
6969 - name : PyAnsys documentation style checks
70- uses : ansys/actions/doc-style@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
70+ uses : ansys/actions/doc-style@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
7171 with :
7272 token : ${{ secrets.GITHUB_TOKEN }}
7373
8686 os : macos-latest
8787 steps :
8888 - name : Build wheelhouse and perform smoke test
89- uses : ansys/actions/build-wheelhouse@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
89+ uses : ansys/actions/build-wheelhouse@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
9090 with :
9191 library-name : ${{ env.PACKAGE_NAME }}
9292 operating-system : ${{ matrix.os }}
9898 runs-on : ubuntu-latest
9999 steps :
100100 - name : PyAnsys documentation style checks
101- uses : ansys/actions/docker-style@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
101+ uses : ansys/actions/docker-style@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
102102 with :
103103 directory : docker
104104 recursive : true
@@ -203,9 +203,12 @@ jobs:
203203
204204 - name : Set up headless display
205205 if : env.SKIP_UNSTABLE == 'false'
206- uses : pyvista /setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
206+ uses : RobPasMue /setup-headless-display-action@offscreen-mesa3d
207207 with :
208208 pyvista : false
209+ # Mesa3D off screen rendering only needed on Windows self-hosted runners
210+ # without GPU support (e.g. pygeometry-ci-2 has GPU, so it doesn't need it)
211+ install-mesa3d-offscreen : ${{ runner.name != 'pygeometry-ci-2' }}
209212
210213 - name : Create Python venv
211214 if : env.SKIP_UNSTABLE == 'false'
@@ -342,7 +345,7 @@ jobs:
342345 docker run --detach --name ${{ env.GEO_CONT_NAME }} -e LICENSE_SERVER=${{ env.ANSRV_GEO_LICENSE_SERVER }} -p ${{ env.ANSRV_GEO_PORT }}:50051 ${{ env.ANSRV_GEO_IMAGE_DOCS_TAG }}
343346
344347 - name : Run Ansys documentation building action
345- uses : ansys/actions/doc-build@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
348+ uses : ansys/actions/doc-build@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
346349 with :
347350 python-version : ${{ env.MAIN_PYTHON_VERSION }}
348351 add-pdf-html-docs-as-assets : true
@@ -401,6 +404,12 @@ jobs:
401404 echo "SKIP_UNSTABLE=$Result" >> $GITHUB_ENV
402405 echo "SKIP_UNSTABLE will be: $Result"
403406
407+ - name : Set up headless display
408+ if : env.SKIP_UNSTABLE == 'false'
409+ uses : pyvista/setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
410+ with :
411+ pyvista : false
412+
404413 - name : Login in Github Container registry
405414 if : env.SKIP_UNSTABLE == 'false'
406415 uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
@@ -429,7 +438,7 @@ jobs:
429438
430439 - name : Run pytest
431440 if : env.SKIP_UNSTABLE == 'false'
432- uses : ansys/actions/tests-pytest@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
441+ uses : ansys/actions/tests-pytest@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
433442 env :
434443 ALLOW_PLOTTING : true
435444 with :
@@ -474,6 +483,11 @@ jobs:
474483 matrix :
475484 python-version : ['3.10', '3.11', '3.12', '3.13']
476485 steps :
486+ - name : Set up headless display
487+ uses : pyvista/setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
488+ with :
489+ pyvista : false
490+
477491 - name : Login in Github Container registry
478492 uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
479493 with :
@@ -574,7 +588,7 @@ jobs:
574588 id-token : write
575589 steps :
576590 - name : Build library source and wheel artifacts
577- uses : ansys/actions/build-library@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
591+ uses : ansys/actions/build-library@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
578592 with :
579593 library-name : ${{ env.PACKAGE_NAME }}
580594 python-version : ${{ env.MAIN_PYTHON_VERSION }}
@@ -671,6 +685,14 @@ jobs:
671685 - name : Checkout repository
672686 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
673687
688+ - name : Set up headless display
689+ uses : RobPasMue/setup-headless-display-action@offscreen-mesa3d
690+ with :
691+ pyvista : false
692+ # Mesa3D off screen rendering only needed on Windows self-hosted runners
693+ # without GPU support (e.g. pygeometry-ci-2 has GPU, so it doesn't need it)
694+ install-mesa3d-offscreen : ${{ runner.name != 'pygeometry-ci-2' }}
695+
674696 - name : Set up Python
675697 uses : actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
676698 with :
@@ -769,6 +791,11 @@ jobs:
769791 with :
770792 python-version : ${{ env.MAIN_PYTHON_VERSION }}
771793
794+ - name : Set up headless display
795+ uses : pyvista/setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
796+ with :
797+ pyvista : false
798+
772799 - name : Download Linux binaries
773800 uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
774801 with :
@@ -798,14 +825,13 @@ jobs:
798825 restore-keys : pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}
799826
800827 - name : Run pytest
801- uses : ansys/actions/tests-pytest@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
828+ uses : ansys/actions/tests-pytest@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
802829 env :
803830 ALLOW_PLOTTING : true
804831 with :
805832 python-version : ${{ env.MAIN_PYTHON_VERSION }}
806833 pytest-extra-args : " --use-existing-service=yes"
807834 checkout : false
808- requires-xvfb : true
809835 randomize : true
810836
811837 - name : " Compressing Linux Dockerfile"
@@ -840,7 +866,7 @@ jobs:
840866 contents : write
841867 steps :
842868 - name : Release to GitHub
843- uses : ansys/actions/release-github@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
869+ uses : ansys/actions/release-github@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
844870 with :
845871 token : ${{ secrets.GITHUB_TOKEN }}
846872 library-name : ${{ env.PACKAGE_NAME }}
@@ -880,7 +906,7 @@ jobs:
880906 needs : [package]
881907 steps :
882908 - name : Deploy the latest documentation
883- uses : ansys/actions/doc-deploy-dev@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
909+ uses : ansys/actions/doc-deploy-dev@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
884910 with :
885911 cname : ${{ env.DOCUMENTATION_CNAME }}
886912 token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -894,7 +920,7 @@ jobs:
894920 needs : [release, release-pypi]
895921 steps :
896922 - name : Deploy the stable documentation
897- uses : ansys/actions/doc-deploy-stable@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
923+ uses : ansys/actions/doc-deploy-stable@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
898924 with :
899925 cname : ${{ env.DOCUMENTATION_CNAME }}
900926 token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -911,7 +937,7 @@ jobs:
911937 pull-requests : write
912938 steps :
913939 - name : Automerge PRs
914- uses : ansys/actions/hk-automerge-prs@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
940+ uses : ansys/actions/hk-automerge-prs@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
915941 with :
916942 approver : ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
917943 approver-token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
0 commit comments