Skip to content

Commit

Permalink
[ci] added test environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigul committed Nov 29, 2024
1 parent 3135ea0 commit bc76292
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/new-pycram-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ jobs:
run: |
source /opt/ros/overlay_ws/devel/setup.bash
roscd pycram
python3 demos/pycram_bullet_world_demo/demo.py
python3 demos/pycram_bullet_world_demo/test_demo.py
8 changes: 8 additions & 0 deletions demos/pycram_bullet_world_demo/test_demo.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from pycram.datastructures.world import World

try:
import demo
except Exception as e:
print(e)
World.current_world.exit()
exit(1)

0 comments on commit bc76292

Please sign in to comment.