From 9756221b0d9a94c9e3723af74a39065205087fe6 Mon Sep 17 00:00:00 2001 From: Takahiro Ooishi Date: Tue, 11 Nov 2025 11:26:30 +0900 Subject: [PATCH] :+1: use Qlty --- .github/workflows/main.yml | 9 ++++----- README.md | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 12656bb..5e83de6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -83,9 +83,8 @@ jobs: bundle exec rspec continue-on-error: ${{ matrix.allow_failures == 'true' }} - - name: Test report + - uses: qltysh/qlty-action/coverage@v2 if: matrix.ruby == '3.3' && matrix.activerecord == '7.1' && success() - run: | - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - ./cc-test-reporter after-build + with: + token: ${{secrets.QLTY_COVERAGE_TOKEN}} + files: coverage/.resultset.json diff --git a/README.md b/README.md index 0f4dd68..6c8235e 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ [![Build Status](https://github.com/taka0125/master_data_tool/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/taka0125/master_data_tool/actions/workflows/main.yml) [![Gem Version](https://badge.fury.io/rb/master_data_tool.svg)](https://badge.fury.io/rb/master_data_tool) -[![Maintainability](https://api.codeclimate.com/v1/badges/5fc8420c4fe83a2e6c92/maintainability)](https://codeclimate.com/github/taka0125/master_data_tool/maintainability) -[![Test Coverage](https://api.codeclimate.com/v1/badges/5fc8420c4fe83a2e6c92/test_coverage)](https://codeclimate.com/github/taka0125/master_data_tool/test_coverage) +[![Maintainability](https://qlty.sh/gh/taka0125/projects/master_data_tool/maintainability.svg)](https://qlty.sh/gh/taka0125/projects/master_data_tool) +[![Code Coverage](https://qlty.sh/gh/taka0125/projects/master_data_tool/coverage.svg)](https://qlty.sh/gh/taka0125/projects/master_data_tool) システムが稼働する上で最初から必要なデータ(マスタデータ)を管理するツール