Add country-aware IMD year selection and test runner modes#1379
Merged
eatyourpeas merged 4 commits intolivefrom Apr 26, 2026
Merged
Add country-aware IMD year selection and test runner modes#1379eatyourpeas merged 4 commits intolivefrom
eatyourpeas merged 4 commits intolivefrom
Conversation
…p workflows - add explicit mode flags to s/test: - --container / --in-container (default running container mode) - --local / --host / --outside-container (host mode) - --spin-up / --up / --with-up (ephemeral test compose mode) - add conflict checking so only one mode can be selected at a time - add spin-up cleanup trap to always tear down temporary compose project - update help text and examples for new mode-based usage - update docs to describe all three test execution workflows
|
Seen on STAGING, LIVE (merged by @eatyourpeas 26 minutes and 46 seconds ago) Please check your changes! |
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.
Summary
This PR updates IMD calculation to select the dataset year by cohort and country, adds explicit
s/testexecution modes, and refreshes the organisation IMD map integration.What changed
s/testmodes for in-container, local host, and isolated spin-up workflowss/testbehavior@rcpch/imd-map@0.2.1, refresh the SRI hash, and start centered on the lead centreValidation
./s/test epilepsy12/tests/model_tests/test_imd.py epilepsy12/tests/model_tests/test_case.pyNotes
./s/test --spin-up epilepsy12/tests/model_tests/test_imd.pyrun was blocked by PostGIS startup/connection issues in the temporary compose environment; the in-container focused test run passedcloses #1371