Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyAJohnston committed Jan 7, 2025
1 parent 667e6db commit b5e7d79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
max-parallel: 4
fail-fast: false
matrix:
version: ["4.2.5", "4.3.2", "daily"]
version: ["4.2", "4.3.2", "daily"]
os: [ubuntu-latest, macos-14, windows-latest]
steps:
- uses: actions/checkout@v4
Expand Down
11 changes: 4 additions & 7 deletions tests/test_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,7 @@ def test_op_residues_selection_custom():
with ObjectTracker() as o:
bpy.ops.mn.import_trajectory()

if bpy.app.version_string.startswith("4.2"):
bpy.ops.mn.residues_selection_custom()
else:
area = bpy.context.screen.areas[-1]
area.ui_type = "GeometryNodeTree"
with bpy.context.temp_override(area=area):
bpy.ops.mn.residues_selection_custom("EXEC_DEFAULT")
area = bpy.context.screen.areas[-1]
area.ui_type = "GeometryNodeTree"
with bpy.context.temp_override(area=area):
bpy.ops.mn.residues_selection_custom("EXEC_DEFAULT")

0 comments on commit b5e7d79

Please sign in to comment.