Skip to content

Conversation

Umekawa
Copy link
Member

@Umekawa Umekawa commented Oct 7, 2025

What

  • Calculate and upload code coverage data to QLTY during CI
  • Make code coverage and Maintainability viewable from the README

How

  • Install simplecov_json_formatter
  • Change the coverage output format to JSON
  • Implement the coverage action from QLTY
  • Add a badge to the README

Why

REF

@Umekawa Umekawa requested a review from a team as a code owner October 7, 2025 03:35
@Umekawa Umekawa requested review from Copilot and zumi0 and removed request for a team October 7, 2025 03:35
Copy link

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces Qlty as a replacement for Code Climate to handle code coverage reporting and maintainability metrics. The change migrates from Code Climate's deprecated API to Qlty's service.

  • Configures SimpleCov to output JSON format coverage data
  • Adds a new GitHub workflow job to upload coverage data to Qlty
  • Updates README badges to display Qlty's maintainability and coverage metrics

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
spec/spec_helper.rb Configures SimpleCov with JSON formatter and multi-format output
Gemfile Adds simplecov_json_formatter dependency
.github/workflows/test.yml Adds Qlty job for coverage upload
README.md Updates badges to use Qlty metrics instead of Code Climate

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Umekawa Umekawa self-assigned this Oct 7, 2025
@Umekawa Umekawa requested review from a team and kimkim0814 and removed request for a team and zumi0 October 8, 2025 05:42
Copy link
Member

@kimkim0814 kimkim0814 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is not related, but I was curious about the Travis CI part.
The diff looks LGTM!

# Qiita Markdown

[![Gem Version](https://badge.fury.io/rb/qiita-markdown.svg)](https://badge.fury.io/rb/qiita-markdown)
[![Build Status](https://travis-ci.org/increments/qiita-markdown.svg)](https://travis-ci.org/increments/qiita-markdown)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current build status badge references Travis CI, but the actual CI environment has been migrated to GitHub Actions (see .github/workflows/test.yml.

@Umekawa Umekawa merged commit 3067ad7 into master Oct 10, 2025
8 checks passed
@Umekawa Umekawa deleted the introduce-qlty branch October 10, 2025 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants