mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
speed up ruby tests by picking a prebuilt in 22.04
This commit is contained in:
parent
840cf532a9
commit
6e8051b9e6
3 changed files with 5 additions and 5 deletions
|
|
@ -71,10 +71,10 @@ def test_install_ruby_default(fake_gem_prefix):
|
|||
|
||||
@xfailif_windows # pragma: win32 no cover
|
||||
def test_install_ruby_with_version(fake_gem_prefix):
|
||||
ruby.install_environment(fake_gem_prefix, '3.1.0', ())
|
||||
ruby.install_environment(fake_gem_prefix, '3.2.0', ())
|
||||
|
||||
# Should be able to activate and use rbenv install
|
||||
with ruby.in_env(fake_gem_prefix, '3.1.0'):
|
||||
with ruby.in_env(fake_gem_prefix, '3.2.0'):
|
||||
cmd_output('rbenv', 'install', '--help')
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue