diff options
author | Josh Spicer <joshspicer@github.com> | 2022-08-24 00:23:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 00:23:21 +0300 |
commit | f82307ad60514d1e912a9aa2b64204721fe955eb (patch) | |
tree | bc1799743ef7620c3e460d54f77c1fac3003fd4c /test/ruby | |
parent | 84f4996643b84c6f3dcd5c3edc72ae176dceaf65 (diff) |
test updates to adopt https://github.com/devcontainers/cli/pull/124 (#114)
* test updates to adopt https://github.com/devcontainers/cli/pull/124
* remove accidental tgz check in
* typo in option
* typo in python install script on dotnet6/jammy branch
* no scenarios
* code review and test name
* Delete install_os_provided_python.sh
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/install_additional_ruby.sh | 13 | ||||
-rw-r--r-- | test/ruby/scenarios.json | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/test/ruby/install_additional_ruby.sh b/test/ruby/install_additional_ruby.sh new file mode 100644 index 0000000..3e76159 --- /dev/null +++ b/test/ruby/install_additional_ruby.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +check "ruby version 3.1.2 installed as default" ruby -v | grep 3.1.2 +check "ruby version 2.5.9 installed" rvm list | grep 2.5.9 +check "ruby version 3.0.4 installed" rvm list | grep 3.0.4 + +# Report result +reportResults diff --git a/test/ruby/scenarios.json b/test/ruby/scenarios.json new file mode 100644 index 0000000..9f88d9e --- /dev/null +++ b/test/ruby/scenarios.json @@ -0,0 +1,11 @@ +{ + "install_additional_ruby": { + "image": "ubuntu:focal", + "features": { + "ruby": { + "version": "3.1.2", + "additionalVersions": "2.5,3.0.4" + } + } + } +}
\ No newline at end of file |