Skip to content

Commit 5b7dcd7

Browse files
committed
Merge branch 'main' into release/0.2
2 parents 03cff90 + 5ca2b2f commit 5b7dcd7

Some content is hidden

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

42 files changed

+88
-35
lines changed

.github/workflows/ci_cd.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123

124124
build-test:
125125
name: "Build and unit testing"
126-
runs-on: ubuntu-latest
126+
runs-on: ubuntu-22.04
127127
timeout-minutes: 30
128128
needs: [smoke-tests]
129129
strategy:
@@ -205,7 +205,7 @@ jobs:
205205
--cov-report=html --cov-report term
206206
207207
- name: "Upload coverage to Codecov"
208-
uses: codecov/codecov-action@v4
208+
uses: codecov/codecov-action@v5
209209
with:
210210
token: ${{ secrets.CODECOV_TOKEN }} # required
211211
name: ${{ matrix.mapdl-version }}-remote.xml
@@ -254,14 +254,15 @@ jobs:
254254

255255
doc-build:
256256
name: "Doc building"
257-
runs-on: ubuntu-latest
257+
runs-on: ubuntu-22.04
258258
needs: [doc-style]
259259
outputs:
260260
ANSYSMATH_VERSION: ${{ steps.version.outputs.ANSYSMATH_VERSION }}
261261
env:
262262
PYMAPDL_PORT: 21000 # default won't work on GitHub runners
263263
PYMAPDL_DB_PORT: 21001 # default won't work on GitHub runners
264264
PYMAPDL_START_INSTANCE: FALSE
265+
LIBGL_ALWAYS_SOFTWARE: 1
265266
steps:
266267
- name: "Install Git and checkout project"
267268
uses: actions/checkout@v4
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Comment on released PRs
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
jobs:
9+
test_job:
10+
runs-on: ubuntu-latest
11+
name: Comment on released PRs
12+
env:
13+
PACKAGE_NAME: 'ansys-math-core'
14+
steps:
15+
- name: Comment on PRs
16+
uses: rdlf0/comment-released-prs-action@v3
17+
with:
18+
repo-token: ${{ secrets.GITHUB_TOKEN }}
19+
comment-body: |-
20+
Released in [{{name}}]({{html_url}}).
21+
22+
This comment thread has been locked. If you are still experiencing this issue after upgrading to
23+
${{ env.PACKAGE_NAME }} v[{{name}}]({{html_url}}), please open a new issue."
24+
add-label: true
25+
label-pattern: "release-{{name}}"

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ repos:
22

33

44
- repo: https://github.com/ansys/pre-commit-hooks
5-
rev: v0.4.3
5+
rev: v0.5.1
66
hooks:
77
- id: add-license-headers
88
args:
@@ -16,7 +16,7 @@ repos:
1616
- --line-length=100
1717

1818
- repo: https://github.com/adamchainz/blacken-docs
19-
rev: 1.19.0
19+
rev: 1.19.1
2020
hooks:
2121
- id: blacken-docs
2222
additional_dependencies: [black==24.10.0]
@@ -36,7 +36,7 @@ repos:
3636
- --max-line-length=120
3737

3838
- repo: https://github.com/codespell-project/codespell
39-
rev: v2.3.0
39+
rev: v2.4.0
4040
hooks:
4141
- id: codespell
4242
args: ["--toml", "pyproject.toml"]
@@ -59,6 +59,6 @@ repos:
5959

6060
# this validates our github workflow files
6161
- repo: https://github.com/python-jsonschema/check-jsonschema
62-
rev: 0.29.3
62+
rev: 0.31.0
6363
hooks:
6464
- id: check-github-workflows

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
3+
Copyright (c) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)