1919 GEO_CONT_NAME : ans_geo
2020 RESET_IMAGE_CACHE : 5
2121 IS_WORKFLOW_RUNNING : True
22- ARTIFACTORY_VERSION : v252
22+ ARTIFACTORY_VERSION : v261
2323
2424concurrency :
2525 group : ${{ github.workflow }}-${{ github.ref }}
3939 contents : write
4040 pull-requests : write
4141 steps :
42- - uses : ansys/actions/doc-deploy-changelog@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
42+ - uses : ansys/actions/doc-deploy-changelog@2031be5b84d9f8c1d56a54912209aa489b469a0f # v10.0.13
4343 with :
4444 token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
4545 bot-user : ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
4949 name : Vulnerabilities
5050 runs-on : ubuntu-latest
5151 steps :
52- - uses : ansys/actions/check-vulnerabilities@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
52+ - uses : ansys/actions/check-vulnerabilities@2031be5b84d9f8c1d56a54912209aa489b469a0f # v10.0.13
5353 with :
5454 python-version : ${{ env.MAIN_PYTHON_VERSION }}
5555 python-package-name : ${{ env.PACKAGE_NAME }}
6262 runs-on : ubuntu-latest
6363 steps :
6464 - name : Check commit name
65- uses : ansys/actions/check-pr-title@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
65+ uses : ansys/actions/check-pr-title@2031be5b84d9f8c1d56a54912209aa489b469a0f # v10.0.13
6666 with :
6767 token : ${{ secrets.GITHUB_TOKEN }}
6868
7171 runs-on : ubuntu-latest
7272 steps :
7373 - name : PyAnsys documentation style checks
74- uses : ansys/actions/doc-style@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
74+ uses : ansys/actions/doc-style@2031be5b84d9f8c1d56a54912209aa489b469a0f # v10.0.13
7575 with :
7676 token : ${{ secrets.GITHUB_TOKEN }}
7777
9090 os : macos-latest
9191 steps :
9292 - name : Build wheelhouse and perform smoke test
93- uses : ansys/actions/build-wheelhouse@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
93+ uses : ansys/actions/build-wheelhouse@2031be5b84d9f8c1d56a54912209aa489b469a0f # v10.0.13
9494 with :
9595 library-name : ${{ env.PACKAGE_NAME }}
9696 operating-system : ${{ matrix.os }}
@@ -102,7 +102,7 @@ jobs:
102102 runs-on : ubuntu-latest
103103 steps :
104104 - name : PyAnsys documentation style checks
105- uses : ansys/actions/docker-style@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
105+ uses : ansys/actions/docker-style@2031be5b84d9f8c1d56a54912209aa489b469a0f # v10.0.13
106106 with :
107107 directory : docker
108108 recursive : true
@@ -320,6 +320,10 @@ jobs:
320320 docker rm $dockerContainers
321321 }
322322
323+ # =================================================================================================
324+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RUNNING ON SELF-HOSTED RUNNER ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
325+ # =================================================================================================
326+
323327 docs :
324328 name : Documentation
325329 needs : [docs-style]
@@ -341,7 +345,7 @@ jobs:
341345 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 }}
342346
343347 - name : Run Ansys documentation building action
344- uses : ansys/actions/doc-build@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
348+ uses : ansys/actions/doc-build@2031be5b84d9f8c1d56a54912209aa489b469a0f # v10.0.13
345349 with :
346350 python-version : ${{ env.MAIN_PYTHON_VERSION }}
347351 add-pdf-html-docs-as-assets : true
@@ -356,11 +360,6 @@ jobs:
356360 docker logs ${{ env.GEO_CONT_NAME }}
357361 docker rm ${{ env.GEO_CONT_NAME }}
358362
359-
360- # =================================================================================================
361- # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RUNNING ON SELF-HOSTED RUNNER ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
362- # =================================================================================================
363-
364363 testing-linux :
365364 name : Testing and coverage (Linux)
366365 needs : [smoke-tests, manifests]
@@ -432,7 +431,7 @@ jobs:
432431
433432 - name : Run pytest
434433 if : env.SKIP_UNSTABLE == 'false'
435- uses : ansys/actions/tests-pytest@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
434+ uses : ansys/actions/tests-pytest@2031be5b84d9f8c1d56a54912209aa489b469a0f # v10.0.13
436435 env :
437436 ALLOW_PLOTTING : true
438437 with :
@@ -526,6 +525,58 @@ jobs:
526525 docker logs ${{ env.GEO_CONT_NAME }}
527526 docker rm ${{ env.GEO_CONT_NAME }}
528527
528+ testing-min-reqs-tracker :
529+ name : Testing with minimum requirements with tracker
530+ needs : [smoke-tests]
531+ runs-on : ubuntu-latest
532+ env :
533+ ANSRV_GEO_IMAGE_MINREQS : ' ghcr.io/ansys/geometry:core-linux-latest'
534+ strategy :
535+ fail-fast : false
536+ matrix :
537+ python-version : ['3.10', '3.13']
538+ steps :
539+ - name : Set up headless display
540+ uses : pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2
541+
542+ - name : Login in Github Container registry
543+ uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
544+ with :
545+ registry : ghcr.io
546+ username : ${{ github.actor }}
547+ password : ${{ secrets.GITHUB_TOKEN }}
548+
549+ - name : Checkout repository
550+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
551+
552+ - name : Setup Python ${{ matrix.python-version }}
553+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
554+ with :
555+ python-version : ${{ matrix.python-version }}
556+
557+ - name : Install minimum requirements with tracker
558+ run : |
559+ python -m pip install --upgrade pip
560+ pip install -e .[all,tests-minimal]
561+ pip install pytest
562+
563+ - name : Start Geometry service and verify start
564+ run : |
565+ docker pull ${{ env.ANSRV_GEO_IMAGE_MINREQS }}
566+ 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_MINREQS }}
567+ python -c "from ansys.geometry.core.connection.validate import validate; validate()"
568+
569+ - name : Run pytest
570+ run : |
571+ pytest -v --use-tracker=yes
572+
573+ - name : Stop the Geometry service
574+ if : always()
575+ run : |
576+ docker stop ${{ env.GEO_CONT_NAME }}
577+ docker logs ${{ env.GEO_CONT_NAME }}
578+ docker rm ${{ env.GEO_CONT_NAME }}
579+
529580 testing-no-graphics :
530581 name : Testing with minimum requirements (no graphics)
531582 needs : [smoke-tests]
@@ -588,7 +639,7 @@ jobs:
588639 id-token : write
589640 steps :
590641 - name : Build library source and wheel artifacts
591- uses : ansys/actions/build-library@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
642+ uses : ansys/actions/build-library@2031be5b84d9f8c1d56a54912209aa489b469a0f # v10.0.13
592643 with :
593644 library-name : ${{ env.PACKAGE_NAME }}
594645 python-version : ${{ env.MAIN_PYTHON_VERSION }}
@@ -818,7 +869,7 @@ jobs:
818869 restore-keys : pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}
819870
820871 - name : Run pytest
821- uses : ansys/actions/tests-pytest@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
872+ uses : ansys/actions/tests-pytest@2031be5b84d9f8c1d56a54912209aa489b469a0f # v10.0.13
822873 env :
823874 ALLOW_PLOTTING : true
824875 with :
@@ -859,7 +910,7 @@ jobs:
859910 contents : write
860911 steps :
861912 - name : Release to GitHub
862- uses : ansys/actions/release-github@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
913+ uses : ansys/actions/release-github@2031be5b84d9f8c1d56a54912209aa489b469a0f # v10.0.13
863914 with :
864915 token : ${{ secrets.GITHUB_TOKEN }}
865916 library-name : ${{ env.PACKAGE_NAME }}
@@ -899,7 +950,7 @@ jobs:
899950 needs : [package]
900951 steps :
901952 - name : Deploy the latest documentation
902- uses : ansys/actions/doc-deploy-dev@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
953+ uses : ansys/actions/doc-deploy-dev@2031be5b84d9f8c1d56a54912209aa489b469a0f # v10.0.13
903954 with :
904955 cname : ${{ env.DOCUMENTATION_CNAME }}
905956 token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -913,7 +964,7 @@ jobs:
913964 needs : [release, release-pypi]
914965 steps :
915966 - name : Deploy the stable documentation
916- uses : ansys/actions/doc-deploy-stable@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
967+ uses : ansys/actions/doc-deploy-stable@2031be5b84d9f8c1d56a54912209aa489b469a0f # v10.0.13
917968 with :
918969 cname : ${{ env.DOCUMENTATION_CNAME }}
919970 token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -930,7 +981,7 @@ jobs:
930981 pull-requests : write
931982 steps :
932983 - name : Automerge PRs
933- uses : ansys/actions/hk-automerge-prs@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
984+ uses : ansys/actions/hk-automerge-prs@2031be5b84d9f8c1d56a54912209aa489b469a0f # v10.0.13
934985 with :
935986 approver : ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
936987 approver-token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
0 commit comments