1
0
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:
anabwan
2019-05-26 15:27:36 +03:00
committed by shadiendrawis
parent b567091d2e
commit 3b6e413532
2 changed files with 63 additions and 45 deletions

View File

@@ -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'