tests: fix traces and changing workflow jobs (#316)
* tests: fix traces export presets * tests: increase time for traces * tests * remove approval * fix approval * fix ap * change worflow jobs * fix path * fix repo path * change run traces * adding assert * fix assert
This commit is contained in:
1 parent
b567091d2e
commit
3b6e413532
2 files changed
+63
-45
No files matched your search
@@ -85,7 +85,7 @@ def run_trace_based_test(preset_name, num_env_steps, level=None):
|
||||
'-e {test_name} '
|
||||
'--seed 42 '
|
||||
'-c '
|
||||
'-dcp {template}'
|
||||
'-dcp {template} '
|
||||
'--no_summary '
|
||||
'-cp {custom_param} '
|
||||
'{level} '
|
||||
@@ -313,6 +313,10 @@ def main():
|
||||
else:
|
||||
screen.error(" Summary: " + str(test_count - fail_count) + "/" + str(test_count) + " tests passed successfully", crash=False)
|
||||
|
||||
# check fail counts just if update traces is not activated!
|
||||
if not args.update_traces:
|
||||
assert fail_count == 0
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
os.environ['DISABLE_MUJOCO_RENDERING'] = '1'
|
||||
|
||||
Reference in new issue
Block a user