Skip to content

chore(ci): run CI tasks with rake instead of toys - #600

Draft
torreypayne wants to merge 2 commits into
mainfrom
chore/rake-ci
Draft

torreypayne wants to merge 2 commits into
mainfrom
chore/rake-ci

Conversation

@torreypayne

Copy link
Copy Markdown
Member

Stacked on #599. Part of the move off toys (b/563024235).

  • Adds a Rakefile with the toys tasks, including integration and samples. CI and .kokoro/samples.sh run bundle exec rake; samples.sh now runs bundle install first.
  • Deletes the non-release .toys files. .toys/release.rb stays for the shared release job.
  • Adds rake to the Gemfile; the relock also fixes the stale googleauth (1.17.3) entry.

Behavior change: since #571, the toys test, spec, integration and samples tools exit 0 on test failures. Rake fails the job.

Matches toys 0.22.0 on Ruby 4.0 (test counts, gem, docs). Also passes on 3.2 and 3.3.

toys 0.24.0 removed the alias_tool directive used in .toys/.toys.rb, so
every toys task fails at load. Pin CI to ~> 0.22.0 and switch to
`tool "yard", delegate_to: "yardoc"`, which loads on 0.22 and 0.24.
Base automatically changed from chore/pin-toys to main October 12, 2026 18:16
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.

1 participant