Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5eaea95

Browse files
authored
Mule 2025.10.1 release
2 parents 350e7b0 + 15cb503 commit 5eaea95

49 files changed

Lines changed: 841 additions & 248 deletions

Some content is hidden

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

.github/pull_request_template.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# PR Summary
2+
3+
Code Reviewer: <!-- CR id, filled by SSD -->
4+
5+
<!-- To be completed by the developer -->
6+
7+
<!-- Provide a brief description of the changes in this PR, including any notes
8+
useful for reviewers -->
9+
10+
<!-- List any linked PRs here
11+
- linked MetOffice/<REPO-NAME>#<pr-number>
12+
-->
13+
14+
<!-- List any blocking PRs or issues to be closed here
15+
- is blocked-by #pr-number
16+
- blocks #pr-number
17+
- closes #issue-number
18+
- fixes #issue-number
19+
- is related to #issue-number
20+
-->
21+
22+
## Code Quality Checklist
23+
24+
(_Some checks are automatically carried out via the CI pipeline_)
25+
26+
- [ ] I have performed a self-review of my own code
27+
- [ ] My code follows the project's style guidelines
28+
- [ ] Comments have been included that aid undertanding and enhance the
29+
readability of the code
30+
- [ ] My changes generate no new warnings
31+
32+
## Testing
33+
34+
- [ ] I have tested this change locally, using the rose-stem suite
35+
- [ ] If any tests fail (rose-stem or CI) the reason is understood and
36+
acceptable (eg. kgo changes)
37+
- [ ] I have added tests to cover new functionality as appropriate (eg. system
38+
tests, unit tests, etc.)
39+
40+
<!-- Describe other testing performed (if applicable) -->
41+
42+
### trac.log
43+
44+
<!-- Paste your trac.log from testing output here -->
45+
46+
## Security Considerations
47+
48+
- [ ] This change does not introduce security vulnerabilities
49+
- [ ] I have reviewed the code for potential security issues
50+
- [ ] Sensitive data is properly handled (if applicable)
51+
- [ ] Authentication and authorisation are properly implemented (if applicable)
52+
53+
## Performance Impact
54+
55+
- [ ] Performance of the code has been considered and, if applicable, suitable
56+
performance measurements have been conducted
57+
58+
## Contributor License Agreement (CLA)
59+
60+
- [ ] **Required** - I confirm that I have read and agree to the project's
61+
[Contributor License Agreement](todo-enter-link-to-cla)
62+
63+
## AI Assistance and Attribution
64+
65+
- [ ] Some of the content of this change has been produced with the assistance
66+
of _Generative AI tool name_ (e.g., Met Office Github Copilot Enterprise,
67+
Github Copilot Personal, ChatGPT GPT-4, etc) and I have followed the
68+
[Simulation Systems AI policy](todo-enter-link-to-policy-page) (including
69+
attribution labels)
70+
71+
## Documentation
72+
73+
- [ ] Where appropriate I have updated documentation related to this change and
74+
confirmed that it builds correctly
75+
76+
# Code Review
77+
78+
<!-- To be completed by the Code Reviewer -->
79+
80+
- [ ] All dependencies have been resolved
81+
- [ ] Related Issues are properly linked and addressed
82+
- [ ] CLA compliance is confirmed
83+
- [ ] Code quality standards are met
84+
- [ ] Tests are adequate and passing
85+
- [ ] Documentation is complete and accurate
86+
- [ ] Security considerations have been addressed
87+
- [ ] Performance impact is acceptable

.github/workflows/checks.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
name: Quality
3+
4+
on: # yamllint disable-line rule:truthy
5+
pull_request:
6+
types: [opened, synchronize, reopened]
7+
workflow_dispatch:
8+
9+
concurrency:
10+
group: ${{ github.ref }}
11+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
12+
13+
permissions: read-all
14+
15+
jobs:
16+
17+
mule-checks:
18+
runs-on: ubuntu-latest
19+
timeout-minutes: 5
20+
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v4
24+
- name: Setup uv
25+
uses: astral-sh/setup-uv@v6
26+
- name: Install dependencies
27+
run: uv sync
28+
- name: Python Lint
29+
run: uv run ruff check .
30+
- name: Python Format Check
31+
if: always()
32+
run: uv run ruff format --check --diff -s --respect-gitignore .
33+
- name: Shell Check
34+
if: always()
35+
run: |
36+
find . -type f \( -name "*.*sh" -o ! -name "*.*" \) \
37+
-not -path "*.git/*" -not -path "*.venv/*" -print0 \
38+
| xargs -0 file | grep "shell script" | cut -d: -f1 \
39+
| xargs -r uv run shellcheck -S warning \
40+
&& echo "All checks passed!"
41+
- name: CPPLINT
42+
# See: CPPLINT.cfg
43+
if: always()
44+
run: |
45+
uv run cpplint --recursive --extensions=c,h \
46+
--exclude=.git --exclude=.venv .
47+
- name: Minimize uv cache
48+
run: uv cache prune --ci

.github/workflows/ci.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
name: CI
3+
on: # yamllint disable-line rule:truthy
4+
push:
5+
branches:
6+
- main
7+
- 'releases/**'
8+
pull_request:
9+
types: [opened, synchronize, reopened]
10+
workflow_dispatch:
11+
12+
permissions: read-all
13+
14+
jobs:
15+
build-test-mule:
16+
runs-on: ubuntu-24.04
17+
timeout-minutes: 5
18+
strategy:
19+
max-parallel: 4
20+
matrix:
21+
python-version: ['3.12', '3.13']
22+
numpy-version: ['1.26.4', '2.2.6']
23+
exclude:
24+
- python-version: '3.13'
25+
numpy-version: '1.26.4'
26+
27+
steps:
28+
- name: Checkout Mule
29+
uses: actions/checkout@v4
30+
- name: Set up Python ${{ matrix.python-version }}
31+
uses: actions/setup-python@v5
32+
with:
33+
python-version: ${{ matrix.python-version }}
34+
cache: pip
35+
- name: Install Python Dependencies ${{ matrix.numpy-version }}
36+
run: |
37+
pip install setuptools
38+
pip install six
39+
pip install numpy==${{ matrix.numpy-version }}
40+
- name: Build python-${{ matrix.python-version }}_numpy-${{ matrix.numpy-version }}
41+
run: |
42+
./admin/install_mule.sh ./_build/lib ./_build/bin
43+
- name: Test python-${{ matrix.python-version }}_numpy-${{ matrix.numpy-version }}
44+
run: |
45+
cd _build/lib
46+
for name in ./*; do
47+
python -m unittest discover -v ${name##*/}.tests
48+
done

.github/workflows/docs.yaml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
name: Docs
3+
4+
on: # yamllint disable-line rule:truthy
5+
push:
6+
branches:
7+
- main
8+
- 'releases/**'
9+
pull_request:
10+
types: [opened, synchronize, reopened]
11+
paths:
12+
- 'mule/docs/**'
13+
- '.github/workflows/docs.yaml'
14+
workflow_dispatch:
15+
16+
permissions: read-all
17+
18+
jobs:
19+
20+
build-docs:
21+
runs-on: ubuntu-latest
22+
timeout-minutes: 3
23+
24+
steps:
25+
- name: Checkout repository
26+
uses: actions/checkout@v4
27+
- name: Setup uv
28+
uses: astral-sh/setup-uv@v6
29+
- name: Install dependencies
30+
run: uv sync && uv pip install ./mule ./um_utils
31+
- name: Build mule docs
32+
run: uv run make clean html --directory ./mule/docs
33+
working-directory: ${{ github.workspace }}
34+
- name: Build um_utils docs
35+
run: uv run make clean html --directory ./um_utils/docs
36+
working-directory: ${{ github.workspace }}
37+
# - id: permissions
38+
# name: Set permissions
39+
# run: |
40+
# chmod -c -R +rX "./doc/_build/html/"
41+
- name: Upload artifacts
42+
uses: actions/upload-pages-artifact@v4
43+
with:
44+
name: github-pages
45+
path: ./mule/docs/build/html
46+
- name: Minimize uv cache
47+
if: always()
48+
run: uv cache prune --ci
49+
50+
# Deploy job
51+
deploy:
52+
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
53+
# Add a dependency to the build job
54+
needs: build-docs
55+
permissions:
56+
pages: write # to deploy to Pages
57+
id-token: write # to verify the deployment originates from an appropriate source
58+
# Deploy to the github-pages environment
59+
environment:
60+
name: github-pages
61+
url: ${{ steps.deployment.outputs.page_url }}
62+
# Specify runner + deployment step
63+
runs-on: ubuntu-latest
64+
steps:
65+
- name: Deploy to GitHub Pages
66+
id: deployment
67+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)