Closed StefSchenkelaars closed 5 months ago
Definitely still a draft but it pushes all the annotations using the checks API.
You can use this branch by selecting it in the gemfile:
git_source(:github) do |repo_name| repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?('/') "https://github.com/#{repo_name}.git" end gem 'rspec-github', require: false, github: 'Drieam/rspec-github', branch: 'issue/7'
To test it, make sure you add the OCTOKIT_ACCESS_TOKEN environment variable to you job and select the RSpec::Github::Annotator class as the formatter:
OCTOKIT_ACCESS_TOKEN
RSpec::Github::Annotator
jobs: rspec: steps: # ... - name: Run RSpec env: OCTOKIT_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: bundle exec rspec --format RSpec::Github::Annotator
Closes #7
Definitely still a draft but it pushes all the annotations using the checks API.
You can use this branch by selecting it in the gemfile:
To test it, make sure you add the
OCTOKIT_ACCESS_TOKEN
environment variable to you job and select theRSpec::Github::Annotator
class as the formatter:Closes #7