Skip to content

Commit 98d1178

Browse files
committed
Merge branch 'main' into release/0.9
2 parents ed521ab + cdd6dc4 commit 98d1178

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+529
-96
lines changed

.github/labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
documentation:
22
- changed-files:
3-
- any-glob-to-any-file: 'docs/source/**/*'
3+
- any-glob-to-any-file: 'doc/source/**/*'
4+
- any-glob-to-any-file: 'README.rst'
45
maintenance:
56
- changed-files:
67
- any-glob-to-any-file: '.github/**/*'
7-
- any-glob-to-any-file: '.flake8'
88
- any-glob-to-any-file: 'pyproject.toml'
99
testing:
1010
- changed-files:

.github/workflows/ci_cd.yml

Lines changed: 55 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ jobs:
9191
library-name: ${{ env.PACKAGE_NAME }}
9292
operating-system: ${{ matrix.os }}
9393
python-version: ${{ matrix.python-version }}
94-
whitelist-license-check: 'attrs'
94+
whitelist-license-check: 'attrs,referencing'
95+
target: 'all'
9596

9697
docker-style:
9798
name: Docker Style Check
@@ -545,9 +546,61 @@ jobs:
545546
docker logs ${{ env.GEO_CONT_NAME }}
546547
docker rm ${{ env.GEO_CONT_NAME }}
547548
549+
testing-no-graphics:
550+
name: Testing with minimum requirements (no graphics)
551+
needs: [smoke-tests]
552+
runs-on: ubuntu-latest
553+
env:
554+
ANSRV_GEO_IMAGE_MINREQS: 'ghcr.io/ansys/geometry:core-linux-latest'
555+
strategy:
556+
fail-fast: false
557+
matrix:
558+
python-version: ['3.10', '3.13']
559+
steps:
560+
- name: Login in Github Container registry
561+
uses: docker/login-action@v3
562+
with:
563+
registry: ghcr.io
564+
username: ${{ github.actor }}
565+
password: ${{ secrets.GITHUB_TOKEN }}
566+
567+
- name: Pull and launch geometry service
568+
run: |
569+
docker pull ${{ env.ANSRV_GEO_IMAGE_MINREQS }}
570+
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 }}
571+
572+
- name: Checkout repository
573+
uses: actions/checkout@v4
574+
575+
- name: Setup Python ${{ matrix.python-version }}
576+
uses: actions/setup-python@v5
577+
with:
578+
python-version: ${{ matrix.python-version }}
579+
580+
- name: Install minimum requirements
581+
run: |
582+
python -m pip install --upgrade pip
583+
pip install -e .[tests-minimal]
584+
# Uninstall pytest-pyvista (not needed for these tests)
585+
pip uninstall -y pytest-pyvista
586+
# Installing docker (needed for the tests)
587+
pip install docker
588+
589+
- name: Run pytest
590+
run: |
591+
pytest -v -c pytest-nographics.ini
592+
593+
- name: Stop the Geometry service
594+
if: always()
595+
run: |
596+
docker stop ${{ env.GEO_CONT_NAME }}
597+
docker logs ${{ env.GEO_CONT_NAME }}
598+
docker rm ${{ env.GEO_CONT_NAME }}
599+
600+
548601
package:
549602
name: Package library
550-
needs: [testing-windows, testing-linux, testing-min-reqs, docs]
603+
needs: [testing-windows, testing-linux, testing-min-reqs, testing-no-graphics, docs]
551604
runs-on: ubuntu-latest
552605
steps:
553606
- name: Build library source and wheel artifacts

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exclude: "tests/integration/files"
77
repos:
88

99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.9.6
10+
rev: v0.9.7
1111
hooks:
1212
- id: ruff
1313
- id: ruff-format
@@ -35,7 +35,7 @@ repos:
3535

3636
# this validates our github workflow files
3737
- repo: https://github.com/python-jsonschema/check-jsonschema
38-
rev: 0.31.1
38+
rev: 0.31.2
3939
hooks:
4040
- id: check-github-workflows
4141

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ SOFTWARE.
2828

2929
| Version | Supported |
3030
| ------- | ------------------ |
31-
| <= 0.5 | :x: |
32-
| 0.6.x | :white_check_mark: |
31+
| <= 0.6 | :x: |
3332
| 0.7.x | :white_check_mark: |
3433
| 0.8.x | :white_check_mark: |
34+
| 0.9.x | :white_check_mark: |
3535
| dev | :white_check_mark: |
3636

3737
## Reporting a Vulnerability

doc/changelog.d/1752.maintenance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bump dev version to 0.10.dev0

doc/changelog.d/1760.maintenance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
update CHANGELOG for v0.9.0

doc/changelog.d/1762.dependencies.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bump the docs-deps group with 2 updates

doc/changelog.d/1763.dependencies.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bump ansys-api-geometry from 0.4.38 to 0.4.40

doc/changelog.d/1766.dependencies.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bump ansys-sphinx-theme[autoapi] from 1.3.1 to 1.3.2 in the docs-deps group

doc/changelog.d/1767.dependencies.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bump ansys-tools-visualization-interface from 0.8.1 to 0.8.3

0 commit comments

Comments
 (0)