Skip to content

Commit

Permalink
Update run_compare50.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DevIos01 committed Oct 26, 2023
1 parent 06222c5 commit 34933b3
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/scripts/run_compare50.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
import glob

trimmed_files = glob.glob('temp/*.js')
print("Files to compare:", trimmed_files)
result = subprocess.run(['compare50', *trimmed_files, 'sprig/games/'], capture_output=True, text=True)

try:
result = subprocess.run(['compare50', *trimmed_files, 'sprig/games/'], capture_output=True, text=True, timeout=600)
print(result.stdout)
if result.stderr:
print("Error:", result.stderr)
except subprocess.TimeoutExpired:
print("compare50 took too long to run and was terminated.")
print(result.stdout)

0 comments on commit 34933b3

Please sign in to comment.