Commit Graph

12 Commits

Author SHA1 Message Date
hang-yin 4e1a06af64 Update workflow test files 2024-08-13 12:18:41 -07:00
hang-yin d8d8d73bbf Address more comments 2024-08-06 16:48:18 -07:00
hang-yin d9a46cd67e Fix more examples 2024-07-19 14:35:28 -07:00
hang-yin 83305a1d61 tmp fixes 2024-07-18 14:14:39 -07:00
hang-yin 382fdbfe1f Fixed most of the example tests 2024-07-17 17:22:29 -07:00
hang-yin 1f5b918b10 Fix a number of tests 2024-07-17 16:22:27 -07:00
hang-yin 1dfb2cd6fb Fix all robot visualizer demo 2024-07-17 13:32:46 -07:00
hang-yin ee67c51c69 Run examples as tests 2024-07-17 12:22:15 -07:00
josiah_wong 04747e3e8b igibson --> omnigibson 2022-10-22 15:51:44 -07:00
cremebrule 3c67bf8acc update all test script imports 2022-08-08 15:49:34 -07:00
Michael Lingelbach 4005f9ed1a
chore: cleanup ray examples (#695)
* chore: cleanup ray examples

* making it compatible with the rest of the examples

* running but breaks in training

* using old resolution

* runs and returns on mac

* excluding ray example from the examples_as_test

* chore: allow ray to work with arbitrary image dimensions

Co-authored-by: Roberto Martin-Martin <robertom@cs.stanford.edu>
2022-01-24 20:09:22 +00:00
Roberto Martín-Martín c5201e0fa1
Examples as test (#666)
* wip
adding an option to all examples to run in test mode: headless and with a limited number of steps.
create a test that runs all examples in test mode

* wip
new variables

* test working by catching errors

* test working by catching errors

* using all

* change to short_exec

* wrong use of short_exec fixed

* running examples as test. scheduled on main branch (ig-develop) every Sunday at 2am)

* manual option to trigger

* removing the test of all examples from the default list of tests to run when calling pytest in the main folder

* typo in path

* fix in name and short test

* Minor warning trigger bug

* fix

* run all

* extra reqs for the tests

* fixes first round

* Running but fails for wrong urdf

* skipping web ui demos

* fixes second round

* this doesn't work. we cannot set the pos/ori before loading. looking into it

* this doesn't work. we cannot set the pos/ori before loading. looking into it

* New way of running the examples: first, create subfiles with a single test per example. Then, pytest all the temp files. then delete the files.

* fixes

* example selector can toggle now the test mode

* fixes

* handling success

* fixes

* print

* remove vr tests

* not creating sim again

* fixes

* fixes

* fixes

* test collecting

* no running vr

test

* removing files

* removing files

* changed kk

* removed test_examples.py because we use the template

* removed unnecessary ignore

Co-authored-by: Roberto Martin-Martin <robertom@cs.stanford.edu>
2022-01-18 08:52:29 +00:00