Skip to content

Commit

Permalink
Debugging new Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
scrasmussen committed Jul 24, 2024
1 parent a172bb5 commit c28efc0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/local/utils/attach_plots_to_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ def add_images(images, outdir, pull):
if runcmd(f"cp {img} {imagedir}/.") is None:
raise Exception("Not all image files could be copied")

logger.debug("Pulling from github")
if runcmd(f"git pull origin HEAD:refs/{IMAGEREF}", outdir) is None:
raise Exception("Problem pulling form github")

logger.debug("Adding images to commit")
if runcmd(f"git add images_{pull}", outdir) is None:
raise Exception("Problem committing new images")
Expand Down

0 comments on commit c28efc0

Please sign in to comment.