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

Latest commit

 

History

History
34 lines (24 loc) · 700 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 700 Bytes

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