Skip to content
Snippets Groups Projects
Commit 9ea706a0 authored by u214892's avatar u214892
Browse files

Merge branch '169-Enhance_sparse_rail_generator' of...

Merge branch '169-Enhance_sparse_rail_generator' of gitlab.aicrowd.com:flatland/flatland into 163-multispeed-tests-penalties
parents 22cee824 39b1a409
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,8 @@ if __name__ == '__main__': ...@@ -29,6 +29,8 @@ if __name__ == '__main__':
not pkg_resources.resource_isdir('examples', entry) not pkg_resources.resource_isdir('examples', entry)
and entry.endswith(".py") and entry.endswith(".py")
and '__init__' not in entry and '__init__' not in entry
and 'demo.py' not in entry and 'DELETE' not in entry
# TODO temporarily excluded simple_example_1.py since it hangs in ci - no idea why
and 'simple_example_1.py' not in entry
]: ]:
profile('examples', entry) profile('examples', entry)
...@@ -21,6 +21,8 @@ if __name__ == '__main__': ...@@ -21,6 +21,8 @@ if __name__ == '__main__':
and entry.endswith(".py") and entry.endswith(".py")
and '__init__' not in entry and '__init__' not in entry
and 'DELETE' not in entry and 'DELETE' not in entry
# TODO temporarily excluded simple_example_1.py since it hangs in ci - no idea why
and 'simple_example_1.py' not in entry
]: ]:
with path('examples', entry) as file_in: with path('examples', entry) as file_in:
print("") print("")
...@@ -34,3 +36,5 @@ if __name__ == '__main__': ...@@ -34,3 +36,5 @@ if __name__ == '__main__':
runpy.run_path(file_in, run_name="__main__", init_globals={ runpy.run_path(file_in, run_name="__main__", init_globals={
'argv': ['--sleep-for-animation=False'] 'argv': ['--sleep-for-animation=False']
}) })
print("runpy done.")
print("Done with {}".format(entry))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment