Repository navigation
Oasislmf ci update azure fix - #31
Merged
Merged
Conversation
This reverts commit 12b853b.
sambles
marked this pull request as draft
June 16, 2026 10:03
sambles
marked this pull request as ready for review
November 5, 2026 11:25
- Request the azurite_service fixture only for models in AZURITE_MODELS, so other model tests no longer need Docker - Remove the commented-out PiWindAzure SKIP_MODELS entry - Delete PiWindAzure/docker-compose.azurite.yml, unused since the switch to testcontainers Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ha-Ree
requested changes
Nov 18, 2026
|
|
||
| # Models to skip, as (model_name, reason) tuples | ||
| SKIP_MODELS = [ | ||
| ("PiWindAzure", "requires Azure cloud credentials"), |
Contributor
There was a problem hiding this comment.
Will this need an update for piwind-mdk test on lmf?
Contributor
Author
There was a problem hiding this comment.
nope, it should just work 🤞
Contributor
There was a problem hiding this comment.
No issues then will approve
| - name: Install oasis-data-manager (git branch) | ||
| #if: ${{ inputs.oasis_data_manager_branch }} | ||
| run: pip uninstall oasis-data-manager -y && pip install "git+https://github.com/OasisLMF/OasisDataManager.git@${{ inputs.oasis_data_manager_branch || 'main' }}" | ||
| run: pip uninstall oasis-data-manager -y && pip install "oasis-data-manager[azure] @ git+https://github.com/OasisLMF/OasisDataManager.git@${{ inputs.oasis_data_manager_branch || 'fix/azure-env-connection-string' }}" |
Contributor
There was a problem hiding this comment.
'fix/azure-env-connection-string' left in for testing or meant to be here temporarily until something passes?
Contributor
Author
There was a problem hiding this comment.
oups, yes that should be set back to main
Ha-Ree
approved these changes
Nov 19, 2026
benhayes21
added a commit
that referenced
this pull request
Nov 23, 2026
Resolve import conflict in tests/conftest.py: keep pytest_plugins from #31 and the numpy import from this branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Enable the
PiWindAzuremodel test in CI. It runs against a local Azurite blob emulator started bytestcontainers, so no real Azure credentials are needed.Depends on OasisLMF/OasisDataManager#55.
Changes
Azurite test fixture (
tests/azurite_setup.py,tests/conftest.py)azurite_servicefixture, loaded viapytest_plugins:mcr.microsoft.com/azure-storage/azurite:3.35.0(blob service only) withtestcontainersPiWind/model_dataandPiWind/keys_datainto thedatacontainer underOasisPiWind/..., the paths thatPiWindAzure'smodel_storage.jsonandlookup_config.jsonexpectAZURE_STORAGE_CONNECTION_STRINGfor the test session, using Azurite's public dev account key