Refactor pytest Actions workflow and group integration tests#1036
Merged
BrianJKoopman merged 7 commits intomainfrom Apr 7, 2026
Merged
Refactor pytest Actions workflow and group integration tests#1036BrianJKoopman merged 7 commits intomainfrom
BrianJKoopman merged 7 commits intomainfrom
Conversation
These changes were all based on those made in [1]. [1] - simonsobs/ocs#448
This is broken for the way we install in the workflow, but should still work if sotodlib is pip installed separately.
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.
Description
This PR contains several improvements to the way we are running our test workflow:
While adding testing across Python versions in the unit tests I found issues with installation in both Python 3.7 and 3.12. The 3.12 problem will be solved with #1035. The 3.7 problem is not worth fixing, so we drop 3.7 support.
Motivation and Context
I've been meaning to do the same refactor I did in ocs in simonsobs/ocs#448.
I was simultaneously motivated to group and split the integration tests because those have been flaky lately and I'm not sure which test is causing the flakiness. Grouping will at least help narrow down the list and cancel/rerun individual groups, while also decreasing the overall time it takes for the workflow to run -- now under 10 minutes!
Lastly, the cancel-workflow-action hasn't been needed since they introduced native concurrency limits within Actions. See simonsobs/ocs#468.
How Has This Been Tested?
I tested this with a temporary
on: push. It's working well after the kinks were worked out: https://github.com/simonsobs/socs/actions/runs/24098038868Types of changes
Checklist: