/simplecov-report-action

A GitHub Action that report simplecov coverage.

Primary LanguageTypeScriptMIT LicenseMIT

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