{"repo":"Drieam/rspec-github","free":true,"listed":false,"github":"https://github.com/Drieam/rspec-github","clone":"git clone https://github.com/Drieam/rspec-github.git","description":"Formatter for RSpec to show errors in GitHub action annotations","language":"Ruby","stars":80,"topics":["rpsec","formatter","github-actions"],"license":"MIT","category":"dev-tools","readme_excerpt":"Rspec::Github RSpec formatter compatible with GitHub Action's annotations. It supports multiline errors and will set pending specs as warnings: Installation Add the gem to your application's Gemfile test group: And then of course install the gem by executing: Usage You can specify the formatter with a command line argument: And to always run it with this formatter, you can set it in the .rspec file: And to register the formatter in configuration, you can add the following to spec/spec helper.rb : Note that you can select multiple formatters so that you can also see other output: If you want to disable annotations for pending specs you can do that by adding --tag skip to your command: Development After checking out the repo, run bundle install to install dependencies. Then, run rake spec to run the tests. Publishing a new version is handled by the publish workflow. This workflow publishes a GitHub release to rubygems with the version defined in the release. Useful references - https://help.github.com/en/actions/reference/development-tools-for-github-actions - https://developer.github.com/apps/quickstart-guides/creating-ci-tests-with-the-checks-api License The gem is available as open source under the terms of the MIT License.","default_branch":null,"files":null,"tree":[],"storefront":"/r/Drieam","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Drieam/rspec-github/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}