Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,18 @@ jobs:

- name: Run rubocop
run: bundle exec rubocop

qlty:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: ruby/setup-ruby@13e7a03dc3ac6c3798f4570bfead2aed4d96abfb # v1.244.0
with:
ruby-version: '3.2'
bundler-cache: true
- name: Test
run: bundle exec rspec
- uses: qltysh/qlty-action/coverage@a19242102d17e497f437d7466aa01b528537e899 # v2.2.0
with:
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
files: ./coverage/coverage.json
Comment thread
Umekawa marked this conversation as resolved.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
[![Gem](https://img.shields.io/gem/v/graphql-kaminari_connection.svg)](https://rubygems.org/gems/graphql-kaminari_connection)
[![Build Status](https://travis-ci.org/increments/graphql-kaminari_connection.svg?branch=master)](https://travis-ci.org/increments/graphql-kaminari_connection)
[![license](https://img.shields.io/github/license/increments/graphql-kaminari_connection.svg)](https://github.com/increments/graphql-kaminari_connection/blob/master/LICENSE)
[![Maintainability](https://qlty.sh/gh/increments/projects/graphql-kaminari_connection/maintainability.svg)](https://qlty.sh/gh/increments/projects/graphql-kaminari_connection)
[![Code Coverage](https://qlty.sh/gh/increments/projects/graphql-kaminari_connection/coverage.svg)](https://qlty.sh/gh/increments/projects/graphql-kaminari_connection)


Kaminari based GraphQL pagination
Expand Down
1 change: 1 addition & 0 deletions graphql-kaminari_connection.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rubocop', '~> 1.69.2'
spec.add_development_dependency 'rubocop-rspec', '~> 3.3.0'
spec.add_development_dependency 'simplecov', '~> 0.13'
spec.add_development_dependency 'simplecov_json_formatter', '~> 0.1.4'
spec.add_development_dependency 'sqlite3', '~> 1.3'
spec.metadata['rubygems_mfa_required'] = 'true'
end
7 changes: 7 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@
require 'bundler/setup'

require 'simplecov'
require 'simplecov_json_formatter'

SimpleCov.start do
SimpleCov.formatters = [
SimpleCov::Formatter::JSONFormatter,
SimpleCov::Formatter::HTMLFormatter
]

add_filter '/spec/'
end

Expand Down