Skip to content

nutrisense/simplecov-report-action

Repository files navigation

Simplecov Report

A GitHub Action that report simplecov coverage.

Dynamically updating gif format:

Pull Request comment format:

Demo

Usage:

The action works only with pull_request event.

Inputs

  • token - The GITHUB_TOKEN secret.
  • failedThreshold - Failed threshold. (default: 20)
  • postPullRequestComment - boolean
  • svgPath - Path location to write svg to
  • resultPath - Path to last_run json file. (default: .coverage.json)

Example

name: Tests
on:
  pull_request:

jobs:
  build:
    steps:
      - name: Test
        run: bundle exec rspec

      - name: Simplecov Report
        uses: nutrisense/simplecov-report-action@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published