Skip to content

v1.5.0

Latest

Choose a tag to compare

@fgrosse fgrosse released this 02 Oct 07:32
· 13 commits to main since this release
v1.5.0
c4bf7e7
  • If the base commit of the pull request has no usable baseline run (e.g. because it failed, is still running or its artifact
    expired), the action now uses the nearest commit in the first-parent history of the base commit with a usable run instead
    of the latest run on the target branch. The runs of each commit are filtered client-side, since the filtered workflow runs
    API can return stale results, and further candidates are tried if a coverage artifact cannot be downloaded or does not
    contain the coverage file (#113)
  • Add baseline-search-depth and baseline-max-downloads inputs to configure how far the action searches for a baseline
    run (#113)
  • Remove the documented limitation about packages whose name differs from their directory, which was never an actual limitation (#13)
  • Behavior change: By default, the baseline coverage is now taken from the latest successful run for the base commit
    of the pull request (new baseline-sha input, defaults to github.event.pull_request.base.sha) instead of the latest
    successful run on the target branch. If there is no such run, the action falls back to the latest successful run on the
    target branch and emits a warning. Set baseline-sha to "" to restore the previous behavior (#110)
  • Add baseline-run-id input to use the coverage of an exact workflow run as baseline (#110)
  • Improve diagnostics when no baseline coverage is available: warnings and the pull request comment now distinguish between
    no successful baseline run being found and the coverage artifact of the selected run not being downloadable, and the
    selected baseline run is logged with its ID, commit and age (#110)
  • Show a caution callout at the top of the pull request comment if the report does not compare against the base commit
    of the pull request (#110)
  • Name the baseline commit and run in the details section of the report via the new -baseline-commit, -baseline-run-id and
    -baseline-run-url flags (#110)
  • Simplify the details section of the report: rename it to "Coverage details" and drop its headings to avoid mixing many
    text sizes (#110)