From 3c23716bba051f75fde1aa71db7f619037f54a07 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 14 Jul 2025 02:31:29 +0000 Subject: [PATCH 1/2] Update dependency simplecov-cobertura to v3 --- Gemfile | 2 +- Gemfile.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index 7194b72f..54790c6b 100644 --- a/Gemfile +++ b/Gemfile @@ -51,7 +51,7 @@ group :development, :test do gem 'database_cleaner-active_record', '~> 2.1' gem 'simplecov', '~> 0.22.0', require: false - gem 'simplecov-cobertura', '~> 2.1', require: false + gem 'simplecov-cobertura', '~> 3.0', require: false end group :development do diff --git a/Gemfile.lock b/Gemfile.lock index 4226942f..1fe7dca1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -107,7 +107,7 @@ GEM debug_inspector (1.2.0) declarative_policy (1.1.0) diff-lcs (1.6.2) - docile (1.4.0) + docile (1.4.1) drb (2.2.3) erb (5.0.1) erubi (1.13.1) @@ -278,7 +278,7 @@ GEM io-console (~> 0.5) request_store (1.5.1) rack (>= 1.4) - rexml (3.3.7) + rexml (3.4.1) rotp (6.3.0) rouge (4.5.2) rspec (3.13.0) @@ -363,10 +363,10 @@ GEM docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) - simplecov-cobertura (2.1.0) + simplecov-cobertura (3.0.0) rexml simplecov (~> 0.19) - simplecov-html (0.12.3) + simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) stringio (3.1.7) test-prof (1.4.4) @@ -425,7 +425,7 @@ DEPENDENCIES seed-fu (~> 2.3) shoulda-matchers (~> 6.0) simplecov (~> 0.22.0) - simplecov-cobertura (~> 2.1) + simplecov-cobertura (~> 3.0) test-prof (~> 1.0) tucana (= 0.0.30) tzinfo-data From 9cf0c762057eed6f5254c8206a2fce915fa48e5b Mon Sep 17 00:00:00 2001 From: Niklas van Schrick Date: Fri, 1 Aug 2025 22:18:35 +0200 Subject: [PATCH 2/2] Adjust coverage patterns for cobertura v3 --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8681bba0..68580823 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -70,11 +70,11 @@ rspec: echo "Test summary available at https://gitlab.com/code0-tech/development/sagittarius/-/pipelines/$CI_PIPELINE_ID/test_report" grep 'Finished in ' output grep -E '[[:digit:]]+ examples, ' output - grep -o -E '[[:digit:]]+ / [[:digit:]]+ LOC \(.*\) covered.' output + grep -m 1 -E 'Line Coverage:' output grep 'Time spent in factories' output echo -e "\e[0Ksection_end:`date +%s`:glpa_summary\r\e[0K" exit $exit_code - coverage: '/LOC \((\d+\.\d+%)\) covered.$/' + coverage: '/Line Coverage:\s\d+\.\d+%/' artifacts: expire_in: 7 days paths: