adikari / monorepo-diff-buildkite-plugin

Run separate pipelines for each folder in your monorepo
MIT License
202 stars 78 forks source link

Support `soft_fail` in the step config #93

Closed isaacsu closed 2 years ago

isaacsu commented 2 years ago

Add support for soft_fail command step config. Basically pass it along transparently.

Examples:

steps:
  - command: "tests.sh"
    soft_fail:
      - exit_status: 1

  - command: "tests.sh"
    soft_fail:
      - exit_status: "*"

  - command: "tests.sh"
    soft_fail: true

https://buildkite.com/docs/pipelines/command-step#soft-fail-attributes

codecov-commenter commented 2 years ago

Codecov Report

Merging #93 (81b7ca3) into master (1ff02c3) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #93   +/-   ##
=======================================
  Coverage   80.23%   80.23%           
=======================================
  Files           4        4           
  Lines         172      172           
=======================================
  Hits          138      138           
  Misses         22       22           
  Partials       12       12           
Impacted Files Coverage Δ
plugin.go 94.52% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1ff02c3...81b7ca3. Read the comment docs.