Skip to content

Commit

Permalink
this is going to work
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexseal committed Jan 26, 2024
1 parent 447195d commit f951f5e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ manylinux-x86_64-image = "kolinguo/mplib-build:latest"
container-engine = { name = "docker", create-args = ["--rm"]}
# only run tests on python3.10
test-requires = ["trimesh", "transforms3d"]
test-command = "cd {project} && python3.10 -m unittest discover -s {project}/tests"
test-command = "python3.10 -m unittest discover -s {project}/tests -v"
test-skip = ["cp37-*", "cp38-*", "cp39-*", "cp311-*", "cp312-*"]

[tool.cibuildwheel.linux]
Expand Down
9 changes: 6 additions & 3 deletions tests/test_planner.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
import os
import numpy as np
import unittest
from transforms3d.quaternions import mat2quat, quat2mat
from mplib import Planner
import mplib
import trimesh
from transforms3d.quaternions import mat2quat, quat2mat

FILE_ABS_DIR = os.path.dirname(os.path.abspath(__file__))

PANDA_SPEC = {
"urdf": "data/panda/panda.urdf",
"srdf": "data/panda/panda.srdf",
"urdf": f"{FILE_ABS_DIR}/../data/panda/panda.urdf",
"srdf": f"{FILE_ABS_DIR}/../data/panda/panda.srdf",
"move_group": "panda_hand",
}

Expand Down

0 comments on commit f951f5e

Please sign in to comment.