Skip to content

chore: add a lib load path for the JUnit preloader - #476

Draft
torreypayne wants to merge 1 commit into
mainfrom
chore/junit-preloader-lib
Draft

torreypayne wants to merge 1 commit into
mainfrom
chore/junit-preloader-lib

Conversation

@torreypayne

Copy link
Copy Markdown
Member

Part of the move off toys (b/563024235).

  • Adds lib/gapic/minitest_junit_preloader.rb, so the planned CI runner can load the JUnit preloader by putting this repo's lib on the load path.
  • The preloader itself stays in toys/gapic/lib. toys load_git copies only toys/gapic, so moving it would silently drop sponge_log.xml from google-cloud-ruby CI. A new test loads it from a copy of toys/gapic alone.
  • Runs this repo's tests with lib on the load path.

google-cloud-secret_manager-v1 writes identical XML through load_git, RUBY_COMMON_TOOLS and plain rake test. Tests pass on Ruby 3.2, 3.3, 3.4 and 4.0.

@quartzmo quartzmo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, other than that it's draft.

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