mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
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:
@@ -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