A GitHub Action that report simplecov coverage.
Dynamically updating gif format:
Pull Request comment format:
The action works only with pull_request
event.
token
- The GITHUB_TOKEN secret.failedThreshold
- Failed threshold. (default:20
)postPullRequestComment
- booleansvgPath
- Path location to write svg toresultPath
- Path to last_run json file. (default:.coverage.json
)
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 }}