Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: MishaKav/pytest-coverage-comment
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1.59
Choose a base ref
...
head repository: MishaKav/pytest-coverage-comment
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.2.0
Choose a head ref
  • 3 commits
  • 8 files changed
  • 3 contributors

Commits on Nov 15, 2025

  1. Bump js-yaml from 4.1.0 to 4.1.1 (#233)

    Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1.
    - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
    - [Commits](nodeca/js-yaml@4.1.0...4.1.1)
    
    ---
    updated-dependencies:
    - dependency-name: js-yaml
      dependency-version: 4.1.1
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 15, 2025
    Configuration menu
    Copy the full SHA
    10c84f1 View commit details
    Browse the repository at this point in the history
  2. Add server-url option for self-hosted GitHub instances (#234)

    Implemented automatic server URL detection to support self-hosted GitHub
    instances, matching the jest-coverage-comment implementation exactly.
    
    - serverUrl is automatically calculated from context.serverUrl
    - Falls back to 'https://github.com' for standard GitHub
    - Updated repoUrl construction to use serverUrl for file links
    - Added logging to show which GitHub URL is being used
    
    This allows users running GitHub Enterprise Server or other self-hosted
    GitHub instances to have coverage report links point to the correct server
    automatically, without requiring any additional configuration.
    
    Co-authored-by: Claude <[email protected]>
    MishaKav and claude authored Nov 15, 2025
    Configuration menu
    Copy the full SHA
    c026f3a View commit details
    Browse the repository at this point in the history
  3. Add text-instead-badge option implementation (#235)

    * Add text-instead-badge option to display coverage as text
    
    Implemented the text-instead-badge input option to allow users to display
    coverage information as plain text instead of badge images, matching the
    functionality available in jest-coverage-comment.
    
    - Added text-instead-badge input to action.yml (defaults to 'false')
    - Updated src/index.js to read the new input option
    - Modified src/parse.js toHtml function to show text format when enabled
    - Text format displays as: XX% (covered/statements)
    - Built dist/index.js with updated changes
    
    * Fix text-instead-badge to use correct property names
    
    Use total.stmts and total.miss instead of non-existent properties.
    Calculate covered statements as (stmts - miss).
    
    * docs: add text-instead-badge option to README
    
    Add documentation for the new text-instead-badge input option:
    - Added to Display Options table with description and default value
    - Added usage example in Advanced Features section
    - Explained benefits: no external dependencies, faster rendering, simpler appearance
    
    * docs: enhance text-instead-badge documentation
    
    - Add Complete Configuration section showing all parameters
    - Add Text Mode example in Result Examples section with visual comparison
    - Show text-instead-badge: false in complete configuration example
    - Include benefits and use cases for text mode
    - Match documentation style of jest-coverage-comment
    
    * docs: simplify text-instead-badge documentation
    
    Remove verbose benefits lists and keep documentation minimal
    
    * docs: remove Complete Configuration section
    
    * chore: bump version to 1.2.0 and update CHANGELOG
    
    * feat: update CHANGELOG for version 1.2.0, add text-instead-badge option and automatic server URL detection
    
    ---------
    
    Co-authored-by: Claude <[email protected]>
    MishaKav and claude authored Nov 15, 2025
    Configuration menu
    Copy the full SHA
    ae0e8a5 View commit details
    Browse the repository at this point in the history
Loading