Compare a workspace with a baseline, such as the branch a pull request will merge into, so that CI can fail on what a change introduces rather than on problems that were already there.
Change thresholds map a metric key to a vector of rules applied to the change in a brick's metric since the baseline:
Rules take an optional :level, :error (the default) or :warning.
Compare a workspace with a baseline, such as the branch a pull request
will merge into, so that CI can fail on what a change introduces rather
than on problems that were already there.
Change thresholds map a metric key to a vector of rules applied to the
change in a brick's metric since the baseline:
- {:rule :max-increase :value n} flags an increase of more than n. A brick
that is new since the baseline counts its whole value as the increase.
- {:rule :max-increase-percent :value p} flags an increase of more than p
percent. It is skipped for bricks that are new or were zero.
Rules take an optional :level, :error (the default) or :warning.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |