Skip to content

Get CI running again - #5

Merged
joeldrapper merged 1 commit into
mainfrom
claude/project-thread-1xvp7q
Oct 13, 2026
Merged

joeldrapper merged 1 commit into
mainfrom
claude/project-thread-1xvp7q

Conversation

@joeldrapper

Copy link
Copy Markdown
Contributor

Requested by Joel · project thread

Before: every CI job on main fails. The test jobs die before loading a test (bundle install --without is gone in Bundler 4, qt -t 1 is no longer a Quickdraw option, and the top-level test DSL resolves to Kernel#test), and RuboCop reports two offenses.

After: the suite runs on every Ruby in the matrix and RuboCop is clean. CI-only: no change to Refract's behaviour.

How:

  • Workflow: bundle exec qt with no -t; skip the development group with BUNDLE_WITHOUT rather than --without; add Ruby 4.0 and bump actions/checkout to v7, matching Phlex.
  • Tests: wrap test/refract.test.rb and test/corpus.test.rb in Quickdraw::Test subclasses. Whitespace-only apart from the class lines (git diff -w is 4 lines); I checked with Prism that all 911 string literals, heredocs included, are byte-identical.
  • Drop assert_equal_ruby, which no longer exists; the strict assert_equal beside it already implies it.
  • Autocorrect the two RuboCop offenses (formatter.rb:16, refract.gemspec:24).

Locally: 634 passed, 0 failed on Ruby 3.2.6 and 3.3.6; RuboCop 163 files, no offenses.

This covers the CI part of #3 only; its formatter and TruffleRuby fixes are separate behaviour changes and are left for that PR.

🤖 Generated with Claude Code

https://claude.ai/code/session_019moK5994ZrLtnK6Qu87GUg


Generated by Claude Code

CI has been red since Quickdraw dropped the `-t` option and the
top-level `test` DSL, and Bundler 4 removed `bundle install --without`.

- Run `bundle exec qt` without `-t`, and skip the development group
  with BUNDLE_WITHOUT instead of `--without`
- Wrap the tests in Quickdraw::Test subclasses (whitespace-only apart
  from the class lines; heredoc contents are unchanged)
- Drop `assert_equal_ruby`, which no longer exists; the strict
  `assert_equal` beside it already covers it
- Fix the two RuboCop offenses on main
- Add Ruby 4.0 to the matrix and bump actions/checkout to v7, as in Phlex

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019moK5994ZrLtnK6Qu87GUg
@joeldrapper joeldrapper self-assigned this Oct 13, 2026
@joeldrapper
joeldrapper merged commit 0daefa8 into main Oct 13, 2026
11 checks passed
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