8282 - name : PyAnsys documentation style checks
8383 uses : ansys/actions/doc-style@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
8484 with :
85- token : ${{ secrets.GITHUB_TOKEN }}
85+ token : ${{ secrets.GITHUB_TOKEN }}
8686
8787 smoke-tests :
8888 name : Build and Smoke tests
@@ -157,7 +157,6 @@ jobs:
157157 touch ${CONTAINER_UNSTABLE}.json
158158 fi
159159
160-
161160 # Check if the manifests are the same (and if so, create an output that will skip the next job)
162161 if diff ${CONTAINER_STABLE}.json ${CONTAINER_UNSTABLE}.json; then
163162 echo "${SERVICE_NAME} container manifests are the same... skipping"
@@ -269,11 +268,11 @@ jobs:
269268 path : .\tests\integration\image_cache
270269 key : pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}-${{ hashFiles('pyproject.toml') }}
271270 restore-keys : pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}
272- lookup-only : false # zizmor: ignore[cache-poisoning]
271+ lookup-only : false # zizmor: ignore[cache-poisoning]
273272
274273 - name : Testing
275274 if : env.SKIP_UNSTABLE == 'false'
276- timeout-minutes : 20 # Sometimes hangs...
275+ timeout-minutes : 20 # Sometimes hangs...
277276 run : |
278277 pytest -v
279278
@@ -380,7 +379,7 @@ jobs:
380379 env :
381380 DOCKER_IMAGE : ${{ matrix.docker-image }}
382381 SKIP_CORE_LINUX : ${{ needs.manifests.outputs.skip_core_linux }}
383- VARS_SKIP_UNSTABLE_CONTAINERS_TEMPORARILY : ${{ vars.SKIP_UNSTABLE_CONTAINERS_TEMPORARILY }}
382+ VARS_SKIP_UNSTABLE_CONTAINERS_TEMPORARILY : ${{ vars.SKIP_UNSTABLE_CONTAINERS_TEMPORARILY}}
384383 run : |
385384 # Choose the manifests output to consider (for Core service)
386385 # based on the matrix value
@@ -436,7 +435,7 @@ jobs:
436435 path : tests/integration/image_cache
437436 key : pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}-${{ hashFiles('pyproject.toml') }}
438437 restore-keys : pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}
439- lookup-only : false # zizmor: ignore[cache-poisoning]
438+ lookup-only : false # zizmor: ignore[cache-poisoning]
440439
441440 - name : Run pytest
442441 if : env.SKIP_UNSTABLE == 'false'
@@ -610,9 +609,9 @@ jobs:
610609 python-version : ${{ env.MAIN_PYTHON_VERSION }}
611610 attest-provenance : true
612611
613- # =================================================================================================
614- # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv RUNNING ON SELF-HOSTED RUNNER vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
615- # =================================================================================================
612+ # =================================================================================================
613+ # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv RUNNING ON SELF-HOSTED RUNNER vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
614+ # =================================================================================================
616615
617616 fetch-release-artifacts :
618617 name : Fetch release artifacts
@@ -734,7 +733,7 @@ jobs:
734733 if : runner.name == 'pygeometry-ci-2'
735734 env :
736735 LICENSE_SERVER_INTERNAL : ${{ secrets.LICENSE_SERVER_INTERNAL }}
737- run :
736+ run : |
738737 echo "ANSRV_GEO_LICENSE_SERVER=$env:LICENSE_SERVER_INTERNAL" | Out-File -FilePath $env:GITHUB_ENV -Append
739738
740739 - name : Validate connection using PyAnsys Geometry
@@ -750,7 +749,7 @@ jobs:
750749 path : .\tests\integration\image_cache
751750 key : pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}-${{ hashFiles('pyproject.toml') }}
752751 restore-keys : pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}
753- lookup-only : false # zizmor: ignore[cache-poisoning]
752+ lookup-only : false # zizmor: ignore[cache-poisoning]
754753
755754 - name : Start Geometry service and verify start
756755 env :
@@ -767,7 +766,7 @@ jobs:
767766 python -c "from ansys.geometry.core.connection.validate import validate; validate()"
768767
769768 - name : Testing
770- timeout-minutes : 20 # On Windows self-hosted runners, sometimes hangs...
769+ timeout-minutes : 20 # On Windows self-hosted runners, sometimes hangs...
771770 run : |
772771 .\.venv\Scripts\Activate.ps1
773772 pytest -v --use-existing-service=yes
@@ -807,9 +806,9 @@ jobs:
807806 docker image rm ghcr.io/ansys/geometry:windows-tmp
808807 docker system prune -f
809808
810- # =================================================================================================
811- # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RUNNING ON SELF-HOSTED RUNNER ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
812- # =================================================================================================
809+ # =================================================================================================
810+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RUNNING ON SELF-HOSTED RUNNER ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
811+ # =================================================================================================
813812
814813 build-linux-container :
815814 name : Building Geometry Service - Linux
@@ -858,7 +857,7 @@ jobs:
858857 path : .\tests\integration\image_cache
859858 key : pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}-${{ hashFiles('pyproject.toml') }}
860859 restore-keys : pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}
861- lookup-only : false # zizmor: ignore[cache-poisoning]
860+ lookup-only : false # zizmor: ignore[cache-poisoning]
862861
863862 - name : Run pytest
864863 uses : ansys/actions/tests-pytest@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
@@ -938,8 +937,10 @@ jobs:
938937 upload_dev_docs :
939938 name : Upload dev documentation
940939 if : github.ref == 'refs/heads/main'
941- runs-on : ubuntu-latest
942940 needs : [package]
941+ runs-on : ubuntu-latest
942+ permissions :
943+ contents : write
943944 steps :
944945 - name : Deploy the latest documentation
945946 uses : ansys/actions/doc-deploy-dev@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
@@ -952,8 +953,10 @@ jobs:
952953 upload_docs_release :
953954 name : Upload release documentation
954955 if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
955- runs-on : ubuntu-latest
956956 needs : [release, release-pypi]
957+ runs-on : ubuntu-latest
958+ permissions :
959+ contents : write
957960 steps :
958961 - name : Deploy the stable documentation
959962 uses : ansys/actions/doc-deploy-stable@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
0 commit comments