Skip to content

Releases: orgoro/coverage

v3.3.1 — renamed files counted as modified

30 Apr 18:49
ca0c362

Choose a tag to compare

Fix

  • compareCommits was only counting files with status added or modified. The GitHub compare API also returns renamed for git rename detection — those files were silently dropped, so refactor PRs that rename files lost coverage tracking on them. Now renamed files are included as modified. (#350, originally proposed in #325 by @mangunowsky)

Full changelog: v3.3...v3.3.1

v3.3 — node24 runtime, configurable title, docs

30 Apr 11:47
71cf993

Choose a tag to compare

Runtime

  • bumps action runtime from node20 to node24
  • internal: TypeScript ^5.4, @types/node ^24, jest/ts-jest ^29

Features

  • new title input — heading text for the PR comment. Default changed from Python Coverage to Code Coverage since the action works for any language producing cobertura xml. Setting a unique value per matrix entry (e.g. Python Coverage 3.10, Python Coverage 3.11) posts separate comments instead of overwriting one shared one. Closes #328, #320.

Docs

  • README now documents required token permissions (contents: read, pull-requests: write). Closes #310.

Fixes

  • overall-coverage table column LinesStatements to match coverage.py terminology. Closes #250.

⚠️ Upgrade note

The default title changed from Python Coverage to Code Coverage. The first post-upgrade run will create a new comment instead of updating the existing Python Coverage one (the old comment becomes orphaned on each open PR). To preserve the old behavior, pin the title:

- uses: orgoro/coverage@v3.3
  with:
    coverageFile: path/to/coverage.xml
    token: ${{ secrets.GITHUB_TOKEN }}
    title: "Python Coverage"

Full changelog: v3.2...v3.3

v3.2 - node20, support to sourceDir and don't fail on non pull requests (skip instead)

11 Jul 07:15
3f13a55

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.1...v3.2

New Node Version & Configurable Indicators

15 May 07:36
4e3bc93

Choose a tag to compare

What's Changed

New Versions

New Contributors

Full Changelog: v3...v3.1

Job Summaries & New Name

02 Oct 10:42
d77626a

Choose a tag to compare

What's Changed

New Contributors

New Versions

Full Changelog: v2.1...v3

Supporting forks

25 Oct 08:45
76ac6a9

Choose a tag to compare

  • [🐛 Bugfix] checks are optional to fix - #36 🙏 @oreporan
  • [⚡️ Enhancement] better error message on file not found

v1

12 Oct 11:40
976536e

Choose a tag to compare

check (#33)