aboutsummaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2023-03-29 02:05:17 +0300
committerGitHub <noreply@github.com>2023-03-29 02:05:17 +0300
commit1118b992d970b53d92b3379a5b05de7738f3dc8b (patch)
tree6015c18da0e775338d81ee977c4896b8f1d117b4 /test/ruby
parent0e079baaf7c67c7df9521d1dd5059a293702c5d5 (diff)
Ruby: Fix failures - omit "ruby-debug-ide" (#505)feature_ruby_1.0.10
* Ruby: Fix failures on debian image due to ruby-debug-ide * omit
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/install_additional_ruby.sh1
-rw-r--r--test/ruby/ruby_debian.sh12
-rw-r--r--test/ruby/scenarios.json6
3 files changed, 19 insertions, 0 deletions
diff --git a/test/ruby/install_additional_ruby.sh b/test/ruby/install_additional_ruby.sh
index e5a651c..4fa8444 100644
--- a/test/ruby/install_additional_ruby.sh
+++ b/test/ruby/install_additional_ruby.sh
@@ -10,6 +10,7 @@ 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
check "rbenv" bash -c 'eval "$(rbenv init -)" && rbenv --version'
+check "rake" bash -c "gem list | grep rake"
# Report result
reportResults
diff --git a/test/ruby/ruby_debian.sh b/test/ruby/ruby_debian.sh
new file mode 100644
index 0000000..bc5e655
--- /dev/null
+++ b/test/ruby/ruby_debian.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+check "ruby" ruby -v
+check "rake" bash -c "gem list | grep rake"
+
+# Report result
+reportResults
diff --git a/test/ruby/scenarios.json b/test/ruby/scenarios.json
index 9f88d9e..04cac73 100644
--- a/test/ruby/scenarios.json
+++ b/test/ruby/scenarios.json
@@ -7,5 +7,11 @@
"additionalVersions": "2.5,3.0.4"
}
}
+ },
+ "ruby_debian": {
+ "image": "mcr.microsoft.com/devcontainers/base:bullseye",
+ "features": {
+ "ruby": {}
+ }
}
} \ No newline at end of file