Skip to content

Commit

Permalink
don't checkpoint a nofail stage when it's nofailed
Browse files Browse the repository at this point in the history
  • Loading branch information
vreuter committed May 7, 2024
1 parent e15cabf commit 0edf2f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pypiper/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,9 @@ def run(self, start_point=None, stop_before=None, stop_after=None):
stage.run()
except Exception as e:
self.manager._triage_error(e, nofail=stage.nofail)
else:
self.checkpoint(stage)
self.executed.append(stage)
self.checkpoint(stage)

# Add any unused stages to the collection of skips.
self.skipped.extend(self._stages[stop_index:])
Expand Down

0 comments on commit 0edf2f2

Please sign in to comment.