Skip to content

Commit

Permalink
Merge pull request #222 from vreuter/vr/dont-checkpoint-nofailed-stage
Browse files Browse the repository at this point in the history
Don't checkpoint a nofail stage when it's nofailed
  • Loading branch information
donaldcampbelljr authored May 7, 2024
2 parents e15cabf + 0edf2f2 commit e38483e
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 e38483e

Please sign in to comment.