Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

aki77/simplecov-report-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

It's now recommended to use octocov instead of this approach.


Simplecov Report

A GitHub Action that report simplecov coverage.

Demo

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 }}