-
Notifications
You must be signed in to change notification settings - Fork 4
add build and test ci #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Yaswant Pradhan (yaswant)
merged 90 commits into
MetOffice:main
from
james-bruten-mo:build_and_test
Oct 2, 2025
Merged
Changes from all commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
7a301be
add build and test ci
james-bruten-mo 55a9c10
try removing quotes
james-bruten-mo fa91750
test
james-bruten-mo 04c12b5
test
james-bruten-mo 0cc7a9e
test
james-bruten-mo 982391b
test
james-bruten-mo cfd3212
test
james-bruten-mo 570c128
test
james-bruten-mo 73b9c4e
test
james-bruten-mo ebf5915
test
james-bruten-mo 8101b86
test
james-bruten-mo 12b5822
test
james-bruten-mo 46ecb97
test
james-bruten-mo 9010fc8
test
james-bruten-mo 2711ef5
test
james-bruten-mo 5cb5537
test
james-bruten-mo d1d1c89
test
james-bruten-mo c97177e
test
james-bruten-mo 217d6d4
test
james-bruten-mo 4cf7114
test
james-bruten-mo eaa5b05
test
james-bruten-mo bf0fa56
test
james-bruten-mo 24a7db6
test
james-bruten-mo bd4b25b
test
james-bruten-mo 64a7f1f
test
james-bruten-mo 281c1e3
test
james-bruten-mo 0fa5ec7
test
james-bruten-mo 54af5c1
test
james-bruten-mo 1ae1521
test
james-bruten-mo 42e9077
test
james-bruten-mo c528b1a
test
james-bruten-mo 6af77df
test
james-bruten-mo a57fec4
test
james-bruten-mo b7b630e
test
james-bruten-mo 47b31dd
test
james-bruten-mo 482b039
test
james-bruten-mo d86ab99
test
james-bruten-mo 48ed6ea
test
james-bruten-mo 07f7e40
test
james-bruten-mo f08c15c
test
james-bruten-mo 0760f5d
test
james-bruten-mo 83f4fa5
test
james-bruten-mo 4d64bc5
test
james-bruten-mo 281466d
test
james-bruten-mo b6fa17f
test
james-bruten-mo deede5e
test
james-bruten-mo 2170b17
test
james-bruten-mo 75d49cd
test
james-bruten-mo e524a52
test
james-bruten-mo 3e0bbb9
test
james-bruten-mo 6d031b3
test
james-bruten-mo 9a938fa
test
james-bruten-mo 5fa642b
test
james-bruten-mo d1ea913
test
james-bruten-mo 9cbeeaf
test
james-bruten-mo ab22a61
test
james-bruten-mo 0008999
test
james-bruten-mo bbea4ae
test
james-bruten-mo 13c15a3
test
james-bruten-mo 522088f
test
james-bruten-mo d1d57cc
test
james-bruten-mo ff747ba
test
james-bruten-mo 2bb28b4
test
james-bruten-mo d6d119f
test
james-bruten-mo b452d9d
test
james-bruten-mo 6c536f8
test
james-bruten-mo 41425e7
test
james-bruten-mo 935c1e1
test
james-bruten-mo 71b784d
test
james-bruten-mo 0fbc5c4
test
james-bruten-mo 400bb21
test
james-bruten-mo 5ea69cc
test
james-bruten-mo 8d2355a
test
james-bruten-mo d39cf38
test
james-bruten-mo 248139c
update unit tests
james-bruten-mo 8ab60d7
working unit tests
james-bruten-mo fa71ba9
save file
james-bruten-mo 81a4e8f
Merge branch 'main' into build_and_test
james-bruten-mo 664b43b
update urls
james-bruten-mo 28fcbe4
update ci
james-bruten-mo defb218
update ci
james-bruten-mo 6300eae
exclude matric
james-bruten-mo fe9a01d
exclude matric
james-bruten-mo cb3cabc
exclude matric
james-bruten-mo 5082655
rename ci
james-bruten-mo 7336486
update docs
james-bruten-mo 918db32
rename docs
james-bruten-mo 31f0c16
Update admin/install_mule.sh
james-bruten-mo 21c268b
try without path
james-bruten-mo 61aaba5
revert tests back
james-bruten-mo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,7 @@ permissions: read-all | |
|
|
||
| jobs: | ||
|
|
||
| checks: | ||
| mule-checks: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 5 | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| --- | ||
| name: CI | ||
| on: # yamllint disable-line rule:truthy | ||
| push: | ||
| branches: | ||
| - main | ||
| - 'releases/**' | ||
| pull_request: | ||
| types: [opened, synchronize, reopened] | ||
| workflow_dispatch: | ||
|
|
||
| permissions: read-all | ||
|
|
||
| jobs: | ||
| build-test-mule: | ||
| runs-on: ubuntu-24.04 | ||
| timeout-minutes: 5 | ||
| strategy: | ||
| max-parallel: 4 | ||
| matrix: | ||
| python-version: ['3.12', '3.13'] | ||
| numpy-version: ['1.26.4', '2.2.6'] | ||
| exclude: | ||
| - python-version: '3.13' | ||
| numpy-version: '1.26.4' | ||
|
|
||
| steps: | ||
| - name: Checkout Mule | ||
| uses: actions/checkout@v4 | ||
| - name: Set up Python ${{ matrix.python-version }} | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| cache: pip | ||
| - name: Install Python Dependencies ${{ matrix.numpy-version }} | ||
| run: | | ||
| pip install setuptools | ||
| pip install six | ||
| pip install numpy==${{ matrix.numpy-version }} | ||
| - name: Build python-${{ matrix.python-version }}_numpy-${{ matrix.numpy-version }} | ||
| run: | | ||
| ./admin/install_mule.sh ./_build/lib ./_build/bin | ||
| - name: Test python-${{ matrix.python-version }}_numpy-${{ matrix.numpy-version }} | ||
| run: | | ||
| cd _build/lib | ||
| for name in ./*; do | ||
| python -m unittest discover -v ${name##*/}.tests | ||
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,7 @@ | ||
| # Gitignore created from github template | ||
|
|
||
| _build/ | ||
|
|
||
| # Virtual environment | ||
| .venv/ | ||
| uv.lock | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # pyproject.toml | ||
| [build-system] | ||
| requires = ["setuptools >= 42.0.0", "numpy"] | ||
| build-backend = "setuptools.build_meta" | ||
| build-backend = "setuptools.build_meta" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # pyproject.toml | ||
| [build-system] | ||
| requires = ["setuptools >= 42.0.0", "numpy"] | ||
| build-backend = "setuptools.build_meta" | ||
| build-backend = "setuptools.build_meta" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # pyproject.toml | ||
| [build-system] | ||
| requires = ["setuptools >= 42.0.0", "numpy"] | ||
| build-backend = "setuptools.build_meta" | ||
| build-backend = "setuptools.build_meta" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # pyproject.toml | ||
| [build-system] | ||
| requires = ["setuptools >= 42.0.0", "numpy"] | ||
| build-backend = "setuptools.build_meta" | ||
| build-backend = "setuptools.build_meta" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # pyproject.toml | ||
| [build-system] | ||
| requires = ["setuptools >= 42.0.0", "numpy"] | ||
| build-backend = "setuptools.build_meta" | ||
| build-backend = "setuptools.build_meta" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # pyproject.toml | ||
| [build-system] | ||
| requires = ["setuptools >= 42.0.0", "numpy"] | ||
| build-backend = "setuptools.build_meta" | ||
| build-backend = "setuptools.build_meta" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.