Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/odanado/coverage-history-action


https://github.com/odanado/coverage-history-action

coverage github-actions

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Coverage History Action

![](https://github.com/odanado/coverage-history-action/workflows/CI/badge.svg)

This GitHub Actions notice coverage history in pull request comments.

![](./images/sample.png)

# Usage
```yml
name: CI

on:
push:
branches:
- "master"
pull_request:
types: [opened, synchronize]

jobs:
report:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: yarn install
run: |
yarn install --frozen-lockfile
env:
CI: true
- name: Run test
run: |
yarn test
env:
CI: true
- name: Coverage History Action
uses: odanado/coverage-history-action@v0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
```