From fd2b33fcf9ab5de7ee7bda6eb33c6fd03e30f596 Mon Sep 17 00:00:00 2001 From: murajun1978 Date: Mon, 30 Dec 2024 23:13:27 +0900 Subject: [PATCH 1/3] Bump simplecov to v0.22.0 --- Gemfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index cb85077..b74a109 100644 --- a/Gemfile +++ b/Gemfile @@ -18,5 +18,4 @@ gem 'rubocop', '~> 1.68' gem 'rubocop-rake', '~> 0.6' gem 'rubocop-rspec', '~> 3.2' gem 'sinatra', '~> 4.1' -# Limit simplecov to 0.17.x due to https://github.com/codeclimate/test-reporter/issues/413 -gem 'simplecov', '~> 0.17', '< 0.18' +gem 'simplecov', '~> 0.22.0' From 8efe812b4a73f0a25d4605c673730d08d584e388 Mon Sep 17 00:00:00 2001 From: Andrew Bromwich Date: Mon, 13 Jan 2025 22:39:02 +1000 Subject: [PATCH 2/3] Define CC reporter ID at the global level (simplecov 0.20+ requires it) --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3c30f04..af8dc42 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [main] +env: + CC_TEST_REPORTER_ID: 5cfed40102c670b5c9e509730782b751939ddbe53fc57c317b718f635bab1ce8 + jobs: test: runs-on: ubuntu-latest @@ -81,5 +84,3 @@ jobs: - name: Test & publish code coverage uses: paambaati/codeclimate-action@v3.2.0 - env: - CC_TEST_REPORTER_ID: 5cfed40102c670b5c9e509730782b751939ddbe53fc57c317b718f635bab1ce8 From e08e5c732903920cbb7863350d0182a04956e39c Mon Sep 17 00:00:00 2001 From: Andrew Bromwich Date: Mon, 13 Jan 2025 23:56:17 +1000 Subject: [PATCH 3/3] Fix rubocop lint --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index b74a109..ae6b939 100644 --- a/Gemfile +++ b/Gemfile @@ -17,5 +17,5 @@ gem 'rspec', '~> 3.13' gem 'rubocop', '~> 1.68' gem 'rubocop-rake', '~> 0.6' gem 'rubocop-rspec', '~> 3.2' -gem 'sinatra', '~> 4.1' gem 'simplecov', '~> 0.22.0' +gem 'sinatra', '~> 4.1'