Skip to content

opus-hero/mocha-report-action

 
 

Repository files navigation

RSpec Report

A GitHub Action that report RSpec failure.

Usage:

pull_request event

Reported in issue comment.

Demo

other event

Reported in check runs.

Demo

Inputs

  • token - The GITHUB_TOKEN secret.
  • json-path - Path to RSpec result json file.

Example

name: Build
on:
  pull_request:

jobs:
  rspec:
    steps:
      - name: Test
        run: bundle exec rspec -f j -o tmp/rspec_results.json -f p

      - name: RSpec Report
        uses: SonicGarden/rspec-report-action@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          json-path: tmp/rspec_results.json
        if: always()

About

A GitHub Action that report RSpec failure.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 95.9%
  • JavaScript 4.1%