Skip to content

Commit

Permalink
Zip test results in manual.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ayjayt committed Nov 4, 2024
1 parent 0ba181c commit cdd0be3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/py/tests/manual.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
import sys
import shutil
_all_formats = ("png", "jpg", "jpeg", "webp", "svg", "pdf", "json")
dirname="./test-results/"
os.makedirs(dirname, exist_ok=True)
Expand Down Expand Up @@ -83,5 +84,6 @@ async def test_with_async():
except Exception as e:
print(e, file=sys.stderr)
print("Done!")
print(f"Please check {dirname}log.log")
print("Please send over test-results.zip")

shutil.make_archive("test-results", 'zip', dirname)

0 comments on commit cdd0be3

Please sign in to comment.