Install standalone test dependency in CI

This commit is contained in:
2026-07-27 16:16:51 -07:00
parent 69863a0b7f
commit c846fb3d66
2 changed files with 9 additions and 0 deletions

View File

@@ -335,6 +335,13 @@ class RepositoryTest < Minitest::Test
end
end
def test_repository_job_installs_its_pinned_standalone_test_dependency
workflow = File.read(File.join(ROOT, ".github/workflows/candidate.yml"))
repository_job = workflow.split(/^ repository:\n/, 2).fetch(1).split(/^ prepare:\n/, 2).fetch(0)
assert_includes repository_job, "gem install minitest --version 6.0.6 --no-document"
end
def test_candidate_workflow_verifies_and_preserves_the_lockstep_client_tuple
workflow = File.read(File.join(ROOT, ".github/workflows/candidate.yml"))