From a76729a111a7adafddcf2db17908b3614a347779 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 27 Feb 2026 10:30:41 +0000 Subject: [PATCH 1/2] Fix CI: ensure coverage directory exists before rspec runs Add `mkdir -p coverage` before rspec so RspecJunitFormatter can write to coverage/rspec.xml. The formatter opens the output file at initialization, before SimpleCov creates the directory. https://claude.ai/code/session_01KxeQ4nYHHZp8fzjwHF45PC --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9d2ff8..e3513b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,4 +19,5 @@ jobs: run: | gem install bundler bundle install --jobs 4 --retry 3 + mkdir -p coverage bundle exec rspec spec --format RspecJunitFormatter --out coverage/rspec.xml --format progress --profile 10 --color --order random From e1afb258646d60722787b3e902e562e74008b136 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 27 Feb 2026 10:33:38 +0000 Subject: [PATCH 2/2] Fix CI: remove explicit bundler install that conflicts with gemspec `gem install bundler` installs v4.x which conflicts with the `bundler ~> 2.0` constraint in the gemspec. ruby/setup-ruby@v1 already provides a compatible bundler version. https://claude.ai/code/session_01KxeQ4nYHHZp8fzjwHF45PC --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3513b7..61064a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,6 @@ jobs: - name: Run tests run: | - gem install bundler bundle install --jobs 4 --retry 3 mkdir -p coverage bundle exec rspec spec --format RspecJunitFormatter --out coverage/rspec.xml --format progress --profile 10 --color --order random