|
59 | 59 | name: Actions Security |
60 | 60 | runs-on: ubuntu-latest |
61 | 61 | steps: |
62 | | - - uses: ansys/actions/check-actions-security@123a1f17d71f117e0ba29c53d6a0f602e0d8d902 # v10.1.3 |
| 62 | + - uses: ansys/actions/check-actions-security@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4 |
63 | 63 | with: |
64 | 64 | generate-summary: true |
65 | 65 | token: ${{ secrets.GITHUB_TOKEN }} |
@@ -579,62 +579,6 @@ jobs: |
579 | 579 | docker logs ${GEO_CONT_NAME} |
580 | 580 | docker rm ${GEO_CONT_NAME} |
581 | 581 |
|
582 | | - testing-min-reqs-tracker: |
583 | | - name: Testing with minimum requirements with tracker |
584 | | - needs: [smoke-tests] |
585 | | - runs-on: ubuntu-latest |
586 | | - env: |
587 | | - ANSRV_GEO_IMAGE_MINREQS: 'ghcr.io/ansys/geometry:core-linux-latest' |
588 | | - strategy: |
589 | | - fail-fast: false |
590 | | - matrix: |
591 | | - python-version: ['3.10', '3.13'] |
592 | | - steps: |
593 | | - - name: Set up headless display |
594 | | - uses: pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2 |
595 | | - |
596 | | - - name: Login in Github Container registry |
597 | | - uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0 |
598 | | - with: |
599 | | - registry: ghcr.io |
600 | | - username: ${{ github.actor }} |
601 | | - password: ${{ secrets.GITHUB_TOKEN }} |
602 | | - |
603 | | - - name: Checkout repository |
604 | | - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
605 | | - with: |
606 | | - persist-credentials: false |
607 | | - |
608 | | - - name: Setup Python ${{ matrix.python-version }} |
609 | | - uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 |
610 | | - with: |
611 | | - python-version: ${{ matrix.python-version }} |
612 | | - |
613 | | - - name: Install minimum requirements with tracker |
614 | | - run: | |
615 | | - python -m pip install --upgrade pip |
616 | | - pip install -e .[all,tests-minimal] |
617 | | - pip install pytest |
618 | | -
|
619 | | - - name: Start Geometry service and verify start |
620 | | - env: |
621 | | - TRANSPORT_MODE_SELECTION: ${{ secrets.TRANSPORT_MODE_SELECTION }} |
622 | | - run: | |
623 | | - docker pull ${ANSRV_GEO_IMAGE_MINREQS} |
624 | | - docker run --detach --name ${GEO_CONT_NAME} -e LICENSE_SERVER=${ANSRV_GEO_LICENSE_SERVER} -p ${ANSRV_GEO_PORT}:50051 ${ANSRV_GEO_IMAGE_MINREQS} ${TRANSPORT_MODE_SELECTION} |
625 | | - python -c "from ansys.geometry.core.connection.validate import validate; validate()" |
626 | | -
|
627 | | - - name: Run pytest |
628 | | - run: | |
629 | | - pytest -v --use-tracker=yes |
630 | | -
|
631 | | - - name: Stop the Geometry service |
632 | | - if: always() |
633 | | - run: | |
634 | | - docker stop ${GEO_CONT_NAME} |
635 | | - docker logs ${GEO_CONT_NAME} |
636 | | - docker rm ${GEO_CONT_NAME} |
637 | | -
|
638 | 582 | testing-no-graphics: |
639 | 583 | name: Testing with minimum requirements (no graphics) |
640 | 584 | needs: [smoke-tests] |
|
0 commit comments