Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
check-square

GitHub Action

Simplecov Report

v1.1.3

Simplecov Report

check-square

Simplecov Report

Simplecov Report

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Simplecov Report

uses: aki77/[email protected]

Learn more about this action in aki77/simplecov-report-action

Choose a version

Simplecov Report

A GitHub Action that report simplecov coverage.

Demo

Usage:

The action works only with pull_request event.

Inputs

  • token - The GITHUB_TOKEN secret.
  • failedThreshold - Failed threshold. (default: 90)
  • resultPath - Path to last_run json file. (default: coverage/.last_run.json)

Example

name: Tests
on:
  pull_request:

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

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