@@ -526,6 +526,58 @@ jobs:
526
526
docker logs ${{ env.GEO_CONT_NAME }}
527
527
docker rm ${{ env.GEO_CONT_NAME }}
528
528
529
+ testing-min-reqs-tracker :
530
+ name : Testing with minimum requirements with tracker
531
+ needs : [smoke-tests]
532
+ runs-on : ubuntu-latest
533
+ env :
534
+ ANSRV_GEO_IMAGE_MINREQS : ' ghcr.io/ansys/geometry:core-linux-latest'
535
+ strategy :
536
+ fail-fast : false
537
+ matrix :
538
+ python-version : ['3.10', '3.13']
539
+ steps :
540
+ - name : Set up headless display
541
+ uses : pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2
542
+
543
+ - name : Login in Github Container registry
544
+ uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
545
+ with :
546
+ registry : ghcr.io
547
+ username : ${{ github.actor }}
548
+ password : ${{ secrets.GITHUB_TOKEN }}
549
+
550
+ - name : Checkout repository
551
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
552
+
553
+ - name : Setup Python ${{ matrix.python-version }}
554
+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
555
+ with :
556
+ python-version : ${{ matrix.python-version }}
557
+
558
+ - name : Install minimum requirements with tracker
559
+ run : |
560
+ python -m pip install --upgrade pip
561
+ pip install -e .[all,tests-minimal]
562
+ pip install pytest
563
+
564
+ - name : Start Geometry service and verify start
565
+ run : |
566
+ docker pull ${{ env.ANSRV_GEO_IMAGE_MINREQS }}
567
+ 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 }}
568
+ python -c "from ansys.geometry.core.connection.validate import validate; validate()"
569
+
570
+ - name : Run pytest
571
+ run : |
572
+ pytest -v --use-tracker=yes
573
+
574
+ - name : Stop the Geometry service
575
+ if : always()
576
+ run : |
577
+ docker stop ${{ env.GEO_CONT_NAME }}
578
+ docker logs ${{ env.GEO_CONT_NAME }}
579
+ docker rm ${{ env.GEO_CONT_NAME }}
580
+
529
581
testing-no-graphics :
530
582
name : Testing with minimum requirements (no graphics)
531
583
needs : [smoke-tests]
0 commit comments