Skip to content

Commit

Permalink
chore: gif cleanup for pytests (#285)
Browse files Browse the repository at this point in the history
* fix: Adding modifications to codecov.yml

* chore: add cleanup to simulator.gif for pytests

---------

Co-authored-by: Armando Banuelos <abanuelo@Armandos-MacBook-Pro.local>
Co-authored-by: Armando Banuelos <abanuelo@Armandos-MBP.lan>
  • Loading branch information
3 people authored Jul 5, 2024
1 parent d7679fb commit 846b44d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,5 @@ dmypy.json

# generated parser
src/scenic/syntax/parser.py

simulation.gif
1 change: 1 addition & 0 deletions tests/simulators/newtonian/test_newtonian.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def test_gif_creation(loadLocalScenario):
simulation = simulator.simulate(scene, maxSteps=100)
gif_path = Path("") / "simulation.gif"
assert os.path.exists(gif_path)
os.remove(gif_path)


@pickle_test
Expand Down

0 comments on commit 846b44d

Please sign in to comment.