Add validation + compatibility tests for DeepLabCut-live#56
Draft
deruyter92 wants to merge 9 commits intocy/pre-release-fixes-2.0from
Draft
Add validation + compatibility tests for DeepLabCut-live#56deruyter92 wants to merge 9 commits intocy/pre-release-fixes-2.0from
deruyter92 wants to merge 9 commits intocy/pre-release-fixes-2.0from
Conversation
C-Achard
approved these changes
Feb 27, 2026
Comment on lines
+4
to
+7
| from dlclivegui.services.dlc_processor import validate_pose_array | ||
|
|
||
|
|
||
| @pytest.mark.unit |
dlclivegui/services/dlc_processor.py
Outdated
|
|
||
| @dataclass(slots=True, frozen=True) | ||
| class PoseSource: | ||
| backend: str # e.g. "DLCLive" |
There was a problem hiding this comment.
We could make this an Enum later, really cool for adding later backends (e.g. POET)
C-Achard
reviewed
Feb 27, 2026
There was a problem hiding this comment.
@deruyter92 If you'd like I can merge #55 right now, so then we can see how the tests go in CI ?
Author
|
Yes great thanks. Sorry I see that I didn't install the pre-commit |
|
Sorry, in the above I meant #55. It is now merged, happy to take care of conflicts/CI if you're busy ! |
20 tasks
Co-authored-by: Cyril Achard <cyril.achard@epfl.ch>
Co-authored-by: Cyril Achard <cyril.achard@epfl.ch>
Co-authored-by: Cyril Achard <cyril.achard@epfl.ch>
54ee55e to
693c931
Compare
Remove the earlier pytest commands block and update the tox 'commands' to run pytest with the marker excluding both 'hardware' and 'dlclive_compat'. Adjust coverage invocation to use the installed package path (--cov={envsitepackagesdir}/dlclivegui) and emit per-env XML coverage files (.coverage.{envname}.xml). This aligns tox behavior with the GitHub Actions job and removes the prior posargs-based command duplication.
C-Achard
reviewed
Feb 27, 2026
.github/workflows/testing-ci.yml
Outdated
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| python: ['3.11'] |
Update the GitHub Actions testing matrix to run on Python 3.12 instead of 3.11. This moves CI to test against the newer Python runtime while keeping existing matrix include entries unchanged.
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.
No description provided.